fedoraFedora 14, codename Laughlin, is available for download for a few months now. If you haven't done already download Fedora http://fedoraproject.org/get-fedora, install it and let's continue with the post installation guide to configure some basic stuff for Fedora.

1. Configure sudo

* Modifying sudoers file

Normally if you want to run a command which requires root privileges you first have to type 'su -', type your root password and then type the command. However you can bypass this by using the 'sudo' command. But first you have to configure it like this

su --login -c 'visudo'

Now go below the line:

root    ALL=(ALL)       ALL

press a, and type the following

username ALL=(ALL)      ALL

where username is the username you use to login. Next press Escape. Now, if you want to be prompted for your root password each time you use the sudo command go to this line:

# %wheel        ALL=(ALL)       ALL

and with your cursor pointing on # press x If you don't want to be prompted for your root password each time you use the sudo command go to this line:

# %wheel        ALL=(ALL)       NOPASSWD: ALL

and with your cursor pointing on # press x Next, press :wq to save and exit. (type the : as well) * Adding your user to the wheel groupJust type: su -c 'gpasswd -a username wheel'

* Testing sudo

To test if you have done it correctly as a simple user type:

$ sudo whoami

If everything is working properly the command should return the word 'root'.

2. Configure yum

Fedora uses YUM to install and update its software and automatically resolve any dependencies needed.

Fedora software repositories don't include support for MP3, DVD and Video playback/recording because of patent licenses. For this reason you have to install that software from third party repositories. But don't worry, this is pretty easy! ;)

* RPMFusion repository

Now we are going to install the RPM Fusion Repository. RPM Fusion is a merger of the Dribble, Freshrpms and RPM Fusion package repositories for Fedora and Red Hat Enterprise Linux. A variety of applications is included in that repository such as codecs for mp3 and unencrypted DVDs, multimedia applications such as mplayer, VLX and xine and the closed source Nvidia and ATi video drivers! RPM Fusion has two main repositories: one named "free" for Open Source Software (as defined by the Fedora Licensing Guidelines) which can't be included in Fedora because it might be patent encumbered in the USone named "nonfree" for non-free software, that is everything else which can't be in free; this includes software with public available source-code that has "no commercial use"-like restrictions.

For the rest of this guide I will assume that you have installed and enabled the RPM Fusion Repository. To install it type:

su -rpm -ivh \ 
rpm -ivh
\ http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum update

* Google repository

First we must install the key

su -wget https://dl-ssl.google.com/linux/linux_signing_key.pub
rpm --import linux_signing_key.pub

Fedora 32bit

Add the following to a file called google.repo in /etc/yum.repos.d/:

[google]name=Google - i386

Fedora 64bit

Add the following to a file called google.repo in /etc/yum.repos.d/:

[google64]name=Google - x86_64

3. Installing video drivers

**Note: To install the following packages you must have the RPM Fusion Repository enabled as described in Install RPM Fusion Repository .

**Note: The following information was obtained from http://forums.fedoraforum.org/

* Installing nVidia driver

Fedora 14 uses the open source nouveau driver for nvidia cards. This might be enough for you depending on your needs. Kernel Mode Setting (KMS) is now enabled by default on NVIDIA systems as well, through the Nouveau driver. However if you want to have 3D support in Fedora 12 you must install the binary nvidia drivers. Just type:

For GeForce 6, 7, 8, 9, 200, 300, 400 & 500 series cards

su -c 'yum install kmod-nvidia xorg-x11-drv-nvidia-libs'

If you use a PAE kernel

su -c 'yum install kmod-nvidia-PAE'


For GeForce FX cards

su -c 'yum install kmod-nvidia-173xx xorg-x11-drv-nvidia-173xx \
xorg-x11-drv-nvidia-173xx-libs xorg-x11-drv-nvidia-173xx-libs.i686'

If you use a PAE kernel

su -c 'yum install kmod-nvidia-173xx-PAE'reboot

For GeForce 4 and below

su -c 'yum install kmod-nvidia-96xx xorg-x11-drv-nvidia-96xx-libs'

Reboot and you should see the Nvidia logo in your screen.

If it fails to work check /boot/grub/grub.conf to see if nouveau is blacklisted, if not run.

Edit grub.conf

this command adds rdblacklist=nouveau option to /boot/grub/grub.conf 

su -
sed -i '/root=/s|$| rdblacklist=nouveau|' /boot/grub/grub.conf
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname   -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)


* Installing ATi driver

su -
yum --enablerepo=rpmfusion-nonfree-updates-testing \
install kmod-catalyst xorg-x11-drv-catalyst xorg-x11-drv-catalyst-libs.i686

For PAE kernels

su -yum --enablerepo=rpmfusion-nonfree-updates-testing \
install kmod-catalys-PAE xorg-x11-drv-catalyst-libs.i686

Edit grub.conf

this command adds nomodeset option to /boot/grub/grub.conf 

su -sed -i '/root=/s|$| nomodeset|' /boot/grub/grub.conf

Backup Old initramfs and remake initramfs

cd /bootmv
initramfs-`uname -r`.img
initramfs-`uname -r`.img-original
dracut -v /boot/initramfs-`uname -r`.img `uname -r`


4. Install Microsoft fonts

Fedora uses Liberation and DejaVu fonts which are installed by default and look pretty smooth and nice, plus they are open source. If you insist on using the Microsoft fonts you can download and install the msttcorefonts rpm like this.

wget http://www.my-guides.net/en/images/stories/fedora12/msttcore-fonts-2.0-3.noarch.rpm
su -c 'rpm -ivh msttcore-fonts-2.0-3.noarch.rpm'

I built it myself using the msttcore-fonts-2.0-3.spec from Fedora-devel mailing list. It includes Arial, Andale, Comic Sans, Courier New, Georgia, Impact, Tahoma, Times, Trebuchet MS, Verdana and Webdings fonts. The procedure just in case you want to build it yourself is the following.

su -c 'yum install rpmdevtools rpm-build cabextract'
cd ~/rpmbuild/SPECS/
wget http://www.my-guides.net/en/images/stories/fedora12/msttcore-fonts-2.0-3.spec
rpmbuild -bb msttcore-fonts-2.0-3.spec
cd ~/rpmbuild/RPMS/noarch/
su -c 'rpm -ivh msttcore-fonts-2.0-3.noarch.rpm'

Now you can change your fonts through System -> Preferences -> Appearance -> Fonts

5. MP3 and Audio players

**Note: To install many of the following packages you must enable RPM Fusion repository.

The first time you will try to play an mp3 file Totem Movie Player will come up and it will ask you to search for the mp3 decoder. As long as you have enabled the RPM Fusion repo as mentioned before it will find it and install it automatically. Just like that! If you still want to do it the manuall way...! or install an additional application continue reading below.

* Rhythmbox

I believe that Rhythmbox is a better mp3 player than the default Totem for Gnome users. You can find it under Applications -> Sound & Video -> Rhythmbox Music Player. If you don't have it, to install it type:
su -c 'yum install gstreamer rhythmbox'

To make all mp3 files open by default with Rhytmbox right click on an mp3 file and select 'Open with Other Application...'. Click on Rhytmbox Music Player and you're done.
To add mp3 and other audio support type:

su -c 'yum install gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly'

* Amarok

amaroK is an excellent audio/mp3 player for KDE. Of course you can install it under Gnome or any other Desktop Environment too. To install it and add mp3 support type:
su -c 'yum install amarok phonon-backend-gstreamer'

* Audacious

Audacious is another audio player similar to old winamp 2.x. To install it type:

su -c 'yum install audacious audacious-plugins'

6. DVD & Video

**Note: To install many of the following packages you must have the RPM Fusion Repository enabled as described here . If you have most probably you will prompted to search automatically for the needed codecs. They will automatically installed. As simple as that!

* DVD playback

In order to play DVDs you must install the appropriate codecs.

su -c 'yum install libdvdread libdvdnav lsdvd'

Those files are enough for playing your non encrypted DVDs. However if you want to decrypt an encrypted DVD you need libdvdcss which isn't included in RPM Fusion because of legal issues in some countries such as the US. As mentioned in RPM Fusion . Opinions between the members of RPM Ffusion differ on the legality of libdvdcss, however no one is ready to vouch for it resuming the legal responsibilities. Therefore libdvdcss is being dropped. See also the comments on legal issues in the link above.

**Note: Instead you can use Livna for installing libdvdcss.

su -rpm -Uvh http://rpm.livna.org/livna-release.rpmyum install libdvdcss

* Video files playback

When you will try to open a video file with Totem media player it will ask you to search for the necessary codecs. They will be automatically installed! If you have previously set up mp3 playback additional packages would have been installed as dependencies. These packages include video codecs such as xvidcore, ffmpeg and other.

To check some of them type: su -c 'yum install ffmpeg ffmpeg-libs gstreamer-ffmpeg libmatroska xvidcore'

* Totem

Fedora 14 has installed Totem Movie Player. If you want to play DVD files also with totem type:

su -c 'yum install totem-xine xine-lib xine-lib-extras-freeworld'

* Mplayer/SMPlayer

I prefer mplayer and smplayer (mplayer's GUI) for video playback. It supports almost any video type, external subtitles as well as DVD playback as long as you have the needed codecs installed as shown previously.

su -c 'yum install mplayer smplayer'

Open smplayer from Applications -> Sound & Video -> SMPlayer


VLC (Video Lan Client) supports almost any video type without the need of installing external codecs.

su -c 'yum install vlc'

* kaffeine

kaffeine is another KDE media player that uses the xine engine.

su -c 'yum install kaffeine xine xine-lib xine-lib-extras-freeworld'

* RealPlayer

You can download RealPlayer rpm from here . Just choose to open it with the Package Installer. If this fails to install it manually open a terminal, go the directory you downloaded it and type:

su -c 'rpm -Uvh RealPlayer11GOLD.rpm --nodeps'

* Avidemux

Avidemux is a very good video editor. Install it like this:

su -c 'yum install avidemux'

It will be listed in Applications -> Sound & Video -> Avidemux Video Editor.

7. Flash Plugin

* Fedora 32bit

su -
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
yum install flash-plugin

* Fedora 64bit

With the following method you will install the native prerelease of 64bit flash plugin. I am using it for a few months now without any problem.

wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p2_64bit_linux_092710.tar.gz
tar -zxvf flashplayer_square_p2_64bit_linux_092710.tar.gz -C /usr/lib64/mozilla/plugins

Restart Mozilla Firefox or Chrome and you should have flash plugin support. However consider using HTML5 at least for watching YouTube videos!

8. Java

Fedora 14 comes with java from the OpenJDK project. It is very easy to install it through yum (if it hasn't already been installed) and it works just fine. Try it! If you still want to install the Oracle (ex SUN) Java go a few lines below.

* OpenJDK

su -c 'yum install java-*-openjdk java-*-openjdk-plugin'

* Oracle's JAVA

First go to the official Java site and download the latest JRE (Java SE 6 Update 23 at the moment).

Fedora 32bit

Select Linux as Platform and download the jre-6u23-linux-i586.bin file.

Now open a terminal and type:

su -
cd /home/yourusername/Download/
mv jre-6u23-linux-i586.bin /opt
cd optchmod a+x jre-6u23-linux-i586.bin
yum remove java-*-openjdk-plugin
ln -s /opt/jre1.6.0_23/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so

Fedora 64bit

Select Linux x64 as Platform and download the jre-6u23-linux-x64-rpm.bin file.

Now open a terminal and type:

su -
cd /home/yourusername/Download/
mv jre-6u23-linux-x64.bin /opt
cd /optchmod a+x jre-6u23-linux-x64.bin./jre-6u23-linux-x64.bin
yum remove java-*-openjdk-plugin
ln -s /opt/jre1.6.0_23/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins/libnpjp2.so

9. Useful Applications

* Google Chrome browser

First you must enable the Google repository for Fedora

Next install Chrome like this:

su -c 'yum install google-chrome-stable'

Comments (5)

Subscribe to this comment's feed
Nice Work
thanks, this was really helpful...
thiyagi , January 09, 2011
32 bit repo in 64 bit fedora
Do you know if this is available somewhere? I tried a quick installation in a spare pc that was lying around but had to restore it so I couldn't find a solution that day. It was fedora 14 64 bit but I still need some 32 bit applications and that was problematic since there was no repositories.

I'll take a look again soon but I thought i should ask as well.. nice and helpful guide btw smilies/smiley.gif
Edgar , March 23, 2011
32 bit reops
To the person above:
32 bit libraries are present in the repos but you sometimes have to specify the architecture, because it will default to yours. For example if you want to install the c compiler you'll have to get gcc-devel.i686 in addition to some others. Hope that helps.
art , April 13, 2011
perfect...need more help
I've installed a Fedora Core 14 and I am really satisfied with all the functions it's offering me. I got no problem anymore with anything.

but there is one problem which I don't know what to do.

whenever I try to update my fedora, it doesn't work.

the errors are:

qmmp-plugins-freeworld-0.5.3-1.fc17.i686 requires qmmp(x86-32) = 0.5.3
audacious-plugins-freeworld-mms-3.2-2.fc17.i686 requires libgdk-3.so.0
mplayer-1.0-0.129.20110816svn.fc17.i686 requires libm.so.6(GLIBC_2.15)
gnome-mplayer-1.0.5-1.fc17.i686 requires libnotify.so.4
xmms2-mac-0.8-2.fc17.i686 requires xmms2 = 0.8
audacious-plugins-freeworld-mms-3.2-2.fc17.i686 requires libgtk-3.so.0
gnome-mplayer-1.0.5-1.fc17.i686 requires libgdk-3.so.0
kino-1.3.4-4.fc14.i686 requires libswscale.so.0(LIBSWSCALE_0)
audacious-plugins-freeworld-aac-3.2-2.fc17.i686 requires libgdk-3.so.0
mpg321-0.2.13-3.fc17.i686 requires libao.so.4(LIBAO4_1.1.0)
vlc-core-2.0.0-0.9_rc1.fc17.i686 requires libva.so.1
vlc-core-2.0.0-0.9_rc1.fc17.i686 requires libpng15.so.15(PNG15_0)
vlc-2.0.0-0.9_rc1.fc17.i686 requires qt4(x86-32) >= 4.8.0
vlc-core-2.0.0-0.9_rc1.fc17.i686 requires libupnp.so.6
mplayer-1.0-0.129.20110816svn.fc17.i686 requires libc.so.6(GLIBC_2.15)
libquicktime-1.2.3-4.fc17.i686 requires libpng15.so.15
rpmfusion-nonfree-release-17-0.... : Success - empty transaction

I used vpn and proxy connection too. but i couldn't update.

i also tried yum -y update, but it didn't do anything too.

please help me.
mojsh2020 , March 15, 2012
mojsh2020 is this problem still happening? It might occur because the update server wasn't complete synchronized when you tried yum update
axel , March 19, 2012

Write comment

smaller | bigger
security image
Write the displayed characters



Login Form

Follow me on...

  • Facebook
  • Twitter
  • Google+: u/0/b/113039112812192417058/
  • Digg
  • Reddit: myguides
  • RSS Feed
  • e-mail

Member Login