5 hacks to turbocharge media in Fedora Core 6

Fedora logo

Fedora Core 6 is awesome (it's running here right now), but unfortunately, like a lot of Linux distributions, it comes without support for MP3, 3D video drivers or the other proprietary media formats. Now I'm not going to go into the long and frankly boring discussion about whether distros should ship proprietary stuff; but this tutorial will show you how to add this stuff into your FC6 installation.

All the stuff we're going to do here will be done inside the terminal (although not much expertise is required, just copy and paste the commands and go). Remember that you don't type the $ or # signs in your command, they just signify where the commands start.

First of all, all this stuff needs to be performed with administrator privileges, i.e. we need to login as root. Before you do anything else, enter this into your terminal.

$ su -

Enter your root password when prompted (yes, that one you set after the install) and let's get started!

#1 - enable the Livna software repository

Throughout the rest of these hacks, we'll be using software pulled from the Livna software repository, so we need to go ahead and install that now.

Enter the following:

# rpm -Uvh http://rpm.livna.org/livna-release-6.rpm

That will install and set up the repository so we can get software from it.

#2 Get Mplayer installed

The media player Mplayer will play all open source video and audio formats (like XviD and Ogg Vorbis) out of the box, and in just a second we'll get it playing all the other stuff too. We'll also install a plugin for most browsers to play all those formats directly in your browser.

# yum -y install mplayer mplayerplug-in

#3 Add the Windows codecs to Mplayer

This will add Windows Media, QuickTime, MPEG, Real and almost any video/audio format you can play anywhere else playing through Mplayer.

# wget http://www2.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
# tar xjvf essential-20061022.tar.bz2
# mkdir -p /usr/lib/win32
# mv essential-20061022/* /usr/lib/win32/
# ln -s /usr/lib/win32 /usr/lib/codecs

#4 Add Flash Player 9 for Linux

No media setup would be complete without Flash Player, and now that Adobe have kindly released Flash Player 9 for Linux in beta, we Linux users can enjoy all the Flash content the world has to offer too. Updated for beta 2!

# wget http://www.adobe.com/go/fp9_update_b2_installer_linuxplugin
# tar xzvf FP9_plugin_beta_112006.tar.gz
# cp flash-player-plugin- /usr/lib/mozilla/plugins

Remember to restart your browser to begin seeing Flash content.

#5 3D drivers for ATi and Nvidia

You can't play 3D games or enjoy 3D effects without a 3D driver, so let's get installing that too!

For Nvidia cards

# yum -y install kmod-nvidia

For ATi cards

# yum -y install kmod-fglrx

Remember to restart the computer to enjoy the new graphics capabilities. If anything goes wrong, just do this (if you only get a text login, login with your normal details and do the following commands):

$ su -
# yum -y remove kmod-(nvidia or fglrx, whichever you chose earlier)
# reboot

All done!

Now you can play audio and video galore in Mplayer, watch Flash stuff in your browser, enable Desktop Effects and play all those awesome 3D games with your ATi and Nvidia card in Fedora.


UPDATE: Updated for Flash Player 9 Beta 2. Thanks, Pedro.

Avatar for peter Peter Upfold - http://peter.upfold.org.uk/

Peter Upfold is a technology enthusiast from the UK. Peter’s interest in Linux stems back to 2003, when curiosity got the better of him and he began using SUSE 9.0. Now he runs Linux Mint 9 on the desktop, runs a CentOS-based web server from home for his personal website and dabbles in all sorts of technology things across the Windows, Mac and open source worlds.

Home » Articles »

Discussion: 5 hacks to turbocharge media in Fedora Core 6

  1. Pedro F. Fajardo (guest)

    # Posted on 29 November 2006 at 05:59 PM

    Hi, Thank you very much for the tutorial. It's been very helpful; however, when trying to install the Flashplayer plugin I get this error: [root@localhost Pedro]# tar xzvf FP9_plugin_beta_101806.tar.gz tar: FP9_plugin_beta_101806.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors

    It appears that adobe updated the file, because the names don't match. Do you think you can help me solve this problem, please. I tried with the new file name (from the Adobe site) and still did not work. Thank you very much.

  2. Peter (guest)

    # Posted on 30 November 2006 at 01:42 AM

    OK. Try doing this:

    <div class="terminal"># ls -lah</div>

    If you look there, you should see the real file name of the downloaded Flash plugin file. Once you've worked out what the filename is, run the tar command with that filename instead of the one I used in the tutorial.

    That probably also will mean that the name of the folder will change once you've extracted the file. Do the same:

    <div class="terminal"># ls -lah</div>

    To work out the new folder name, and substitute it in:

    <div class="terminal"># cp <em>newfoldername</em>/libflashplayer.so /usr/lib/mozilla/plugins</div>

  3. Peter (guest)

    # Posted on 30 November 2006 at 01:50 AM

    Sorry, ignore all that.

    I'll update the tutorial with the new commands, as it seems the beta 2 update broke our tutorial.

    Thanks for letting us know it broke anyway!

  4. Bennett McGuire (guest)

    # Posted on 01 December 2006 at 11:14 PM

    Thank you so much for making such a clear cut, precise and easy to use tutorial! It's the great work of people like you that encourage people new to linux. (such as me) You have been a great help.

Home » Articles » 5 hacks to turbocharge media in Fedora Core 6