红联Linux门户
Linux帮助

为我心爱的Fedora Core 6写的一点东西,相信一定对你有用

发布时间:2006-11-24 19:33:59来源:红联作者:nihaozhanghu
为我心爱的Fedora Core 6写的一点东西,相信一定对你有用

简述:我是一个不喜欢说只喜欢做的人,如果你想在你的Fedora Core 6中增加MP3 plug-in,想增加Macromedia Flash/Shockwave播放功能,想有DVD播放器,想安装realPlayer 10,想安装java J2RE,想挂载NTFS,想用IE浏览器等,请你按照文章的方法,一步步来!(本文提供外文及翻译)

第一步:准备工作
Add support for other repositories(前提准备,要下一个东西)
These instructions can vary depending on 32bit or 64bit architecture. If there is a difference it will be noted. If you don't know which architecture you're running you can run the following command:
(你可以用下面这个命令先查看你的机子是64位还是32位的)
$ uname -m
x86_64
...or...
i686
###################################

Both 32 and 64 bits:( 如果你不清楚是32还是64,你可以不用管了,直接在终端执行下边这个命令)
# rpm -ihv http://ayo.freshrpms.net/fedora/linux/6/i386/RPMS.freshrpms/freshrpms-release-1.1-1.fc.noarch.rpm
32 bit version:(如果是32位的,你可以用下边这个命令)
# rpm -ihv http://rpm.livna.org/fedora/6/i386/livna-release-6-1.noarch.rpm
64 bit version:(如果是64位的,你可以用下边这个命令)
# rpm -ihv http://rpm.livna.org/fedora/6/x86_64/livna-release-6-1.noarch.rpm

上边的三个命令,由你根据你的机子选择一个,一般就执行第一个就可以了,这样你会在终端看到一些下载过程,当然你要肯定你的网络是通的。

第二步:MP3插件安装
nstall MP3 Plug-in
Since you've been following along this next step is about as easy as it gets. Just use yum to automatically install the MP3 plug-ins for xmms and Rhythmbox like this:
(如果你确定你已经成功完成上边第一步,那么你可以用下边的命令来进行Mp3插件的安装)
# yum -y install xmms-mp3 xmms-faad2 gstreamer-plugins-ugly libmad libid3tag

While you're here you might as well install my personal favorite (this week at least) music player Banshee:
( 你还可以安装一个作者喜欢的音乐播放器,不过随便你了,不想装就不要执行这个命令)
# yum -y install banshee

The -y flag is to automatically answer yes to any question. If you want to be able to say no you can ignore that flag.

While you're there I highly recommend the grip CD ripper which supports both MP3 and Ogg formats. Once again installation is quite simple:
(你还可以用下边的命令来安装使grip CD支持MP3和ogg格式的插件)
# yum -y install grip

第三步:安装Flash/Shockwave 插件
Install Macromedia Flash/Shockwave plug-in
Flash Plug-in 7.0
If you set up the repositories correctly above you should just need to do this to install the Flash plug-in version 7.0:
( 不用我多说了,直接执行下边命令就行了)
# yum -y install flash-plugin
第四步:字体
There is a problem with fonts not being handled correctly in the current version of the flash plug-in and until Macromedia gets around to fixing the plug-in you'll need to do the following workaround.
(在当前版本中有一个字体错误,你可以用下边命令来解决)
# mkdir -p /usr/X11R6/lib/X11/fs/
# ln -s /etc/X11/fs/config /usr/X11R6/lib/X11/fs/config
第五步:安装DVD 播放器
Install DVD player
Currently I find the DVD player that works best is the Xine Multimedia Player which is found in the Livna repository so installing it is just this simple:
(能看懂的看一下,看不懂e文的,请直接执行下边的命令)
# yum -y install xine xine-lib xine-skins xine-lib-extras-nonfree libdvdcss

This will install the xine DVD/VCD/CD player. Now to get xine to automatically play a DVD upon insertion instead of the Totem player which can't actually play DVDs, go to the System -> Preferences -> Removable Drives and Media. Once that comes up select Multimedia Make sure Video DVD Discs is turned on and put in the following for the command:
(如果你运行上边命令后,碟放进去,不能自动播放,你可以点System -> Preferences -> Removable Drives and Media.也就是系统->首选项->可移动驱动器和介质,来使其运行,你也可以执行下边命令)
xine --auto-play --auto-scan dvd
第六步:安装MPlayer Media Player
Install MPlayer Media Player
At some point you're probably going to want to play a QuickTime, AVI or ASF file so you'll want the MPlayer media player. Fortunately with the FreshRpms repositories it's also very easy to download and install. Once again there are conflicts between the Livna and FreshRpms repositories and you'll have to disable one of them.
(如果你想播放QuickTime格式,或AVI或ASF格式文件,你可以装上这个播放器,具体我就不再翻了,大家对着字典看看吧,眼睛受不了了<:)
To prevent potential problems of updates in the Livna repository from messing up the mplayer and mencoder packages add the following line highligted in bold to the file /etc/yum.repos.d/livna.repo :

gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
exclude=mplayer* mencoder*

[livna-debuginfo]

Then you can go ahead and install mplayer and all it's dependencies:

# yum -y install mplayer mplayer-skins mplayer-fonts mplayerplug-in

This command line will download the whole kit and kaboodle. that if you want to play content from a command line that you use the gmplayer version which will include a skin-able control panel. This will install the plug-in to play a wide variety of media within your browser window. Restart your web browser after that whole mess is done installing and you'll also have a plug-in for Mozilla so you can play embedded content. While you're at it be sure to configure mplayer to use the ALSA sound system rather than the default. It just works better. Edit the file ~/.mplayer/config and add the following line:

ao=alsa

And finally you'll probably also want some additional codecs to play all that proprietary video that seems to have infected the Internet. Go to the MPlayer Download page and download the essential Binaries Codec Package. You'll need to install those files in /usr/local/lib/win32. Here are the steps. Remember the exact file names may change at some point.

# gtar xjvf essential-20061022.tar.bz2
# mkdir /usr/local/lib/win32
# mv essential-20061022/* /usr/local/lib/win32
文章评论

共有 4 条评论

  1. 89.216.184.* 于 2007-07-06 00:42:17发表:

    http://f7b3ccfb3840f48c72e9d62e921c3947-t.lwgmrw.org f7b3ccfb3840f48c72e9d62e921c3947 http://f7b3ccfb3840f48c72e9d62e921c3947-b1.lwgmrw.org f7b3ccfb3840f48c72e9d62e921c3947 http://f7b3ccfb3840f48c72e9d62e921c3947-b3.lwgmrw.org 7323937625928ec2c2b389a5c949efe8

  2. chameleon 于 2006-11-25 06:42:26发表:

    支持楼主.....

  3. sen0314 于 2006-11-24 21:03:43发表:

    先 谢谢了 嘿嘿

  4. Space 于 2006-11-24 19:54:25发表:

    有时间去玩玩Fedora Core 6下
    支持楼主