| HOME > MISC > LINUX > FC5 TIPS |
|---|
This is based on my Fedora Core 4 Tips and Tricks page. This page is now pretty much complete. There is also a Fedora Core 6 Tips and Tricks page. Recent changes are highlighted in yellow.
Before you add repositories it's probably a good idea to make sure your system is fully updated first. It's still early but right now the Livna and freshrpms repositories seems to be the most useful. The easiest way to get started is to install the freshrpms-release packages:
# rpm -ihv http://rpm.livna.org/fedora/5/i386/livna-release-5-8.noarch.rpm # rpm -ihv http://ayo.freshrpms.net/fedora/linux/5/i386/RPMS.freshrpms/freshrpms-release-1.1-1.fc.noarch.rpmYou can browse the packages available there at http://rpm.livna.org/fedora/5/i386/ and http://bordeaux.freshrpms.net/. To automatically install/update the Macromedia Flash plug-in copy This File to your /etc/yum.repos.d directory.
# yum -y install xmms-mp3 xmms-faad2 gstreamer-plugins-ugly libmad libid3tagWhile you're here you might as well install my personal favorite (this week at least) music player Banshee:
# yum -y install bansheeThe -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:
# yum -y install grip
# yum -y install flash-pluginYou can get more information about this plug-in at http://macromedia.mplug.org/. Before the plug-in gets installed you'll need to agree to the terms of the license.
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
# yum -y install xine xine-lib xine-skinsThis 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:
xine --auto-play --auto-scan dvdDoes anytone know how to automate changes to the Gnome configuration files?
# yum -y --disablerepo=livna install mplayer mplayer-skins mplayer-fonts # yum -y install mplayerplug-in
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]
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 codes 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-20050412.tar.bz2 # mkdir /usr/local/lib/win32 # mv essential-20050412/* /usr/local/lib/win32
# yum -y install videolan-clientOnce the client and a zillion dependencies get installed you can play a huge variety of video formats easy with the command vlc
Before you install the play you'll need to make sure the compat-libstdc++-33 module is installed. Download the RealPlayer10 package from the following location:
RealPlayer10GOLD.rpmBefore you start you'll probably want to get rid of the mostly useless HelixPlayer so they don't get in each other's way. Then install the RPM from the command line:
# rpm -ev HelixPlayer # yum -y install compat-libstdc++-33 # rpm -ihv RealPlayer10GOLD.rpmThe other thing you'll need to do is prevent the
# cd /usr/lib/mozilla/plugins # rm mplayerplug-in-rm.soThen whenever you want to view something just use /usr/bin/realplay . Here is a link to a cute test video to make sure it's working for you.
If audio is working but you have a black screen then it's possible your video card doesn't support XVideo. You can turn it off by clicking on Tools -> Preferences then choose the Hardware tab and disable Use XVideo .
If the video doesn't play properly the first thing to check is to make sure you're not running SElinux, it seems to prevent the RealPlayer from getting access to the drivers. I currently run with SElinux disabled but I recommend you run it in the Targeted mode rather than the most secure mode.
After you've run it the first time and gone through the configuration screens edit the ~/.realplayerrc file and add the following line in the [helix] section of the configuration:
[helix]
SoundDriver=2
.
.
For some reason on my system RealPlayer uses the the old and virtually
obsolete OSS sound driver. The line above tells it to use the newer ALSA sound driver instead.
For now there is no easy way to do this but I found the following instructions on FedoraForums.org. Basically, start by downloading the JRE 5.0 Update 6 (at the time I wrote this) from Sun.com. You'll want to grab the Linux RPM in self-extracting file. Then you want to install it with:
# chmod +x jre-1_5_0_06-linux-i586-rpm.bin # ./jre-1_5_0_06-linux-i586-rpm.bin
Then you'll probably want to enable Java Plug-ins and here once again there is no easy way:
# ln -s /usr/java/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/pluginsAnd finally you'll need to tell Fedora that you wish to use this version of Java as the preferred interpreter rather than the Open Source version that's installed by default. You'll of course need to adjust the full pathname if you install a newer version of the jre than the one in this example:
# /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jre1.5.0_06/bin/java 1506 # java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)If you know of an easier way please post it to the Comments section below.
# yum -y install kmod-ntfsThen you can simply mount NTFS file systems. You can find more detailed information about this driver at http://www.linux-ntfs.org/content/view/187/
# yum -y install wine cabextractThen just download the latest script, extract and run it. The example below is based on version 2.0.3, just adjust the version number as necessary. Please note that you will want to install and run this as your own user, NOT as root. I used the defaults except that I installed all the versions of IE. I do some web development and I always find myself needing to resolve some goofy incompatibilites with older versions of IE.
$ gtar xzvf ies4linux-2.0.3.tar.gz $ cd ies4linux-2.0.3 $ ./ies4linux Welcome, greg! I'm IEs4Linux. I can install IE 6, 5.5 and 5.0 for you easily and quickly. You are just four 'enter's away from your IEs. I'll ask you some questions now. Just answer y or n (default answer is the bold one) IE 6 will be installed automatically. Do you want to install IE 5.5 SP2 too? [ y / n ] y . . . IEs 4 Linux installations finished! To run your IEs, type: ie6 ie55 ie5
You can read more about this feature on my Internet Explorer with ActiveX on Linux page. It goes into a little more detail about using IE on Linux.
# wget --referer=http://www.mjmwired.net/resources/mjm-fedora-fc5.html \
http://www.mjmwired.net/resources/files/msttcorefonts-1.3-4.noarch.rpm
# rpm -ihv msttcorefonts-1.3-4.noarch.rpm
# service xfs restart
# yum -y install bittorrent-gui gnomebaker testdisk
bittorrent-gui - Simple Gnome based BitTorrent client
gnomebaker - GTK based CD/DVD burning utility
testdisk - Two command line utilities to recover lost partitions and undelete files on FAT filesystems. VERY handy for undeleting files on flash memory cards.
Mauriat Miranda's FC5 Installation Guide - Great guide that goes into more depth of selecting options during the installation process. This is also the source of the MS fonts RPM.Fedora Core 5 Linux Installation Notes - Another great Fedora installation guide. This guide goes into some server related features rather than just desktop features.
Using Linux and Bluetooth DUN on the Treo 650 - A very nice guide to using a Treo 650 phone as a modem with your Linux based PC. It works great for me with one change. Do NOT uncomment the line encrypt enable; as it just won't work for me with encryption enabled with a D-Link DBT-120 and a Treo 650 phone.
FedoraForum - Linux Support Community - This is now the official way to get community support of the Fedora Linux system. There is no official Red Hat mailing list for FC4 any more.
Fedora Multimedia Installation HOWTO - I discovered this great resource after I wrote this. This document goes into more detail than mine so it's a great resource.
The Unofficial Fedora FAQ - Another great guide that should answer most general questions about Fedora. Fedora Core 5 doesn't seem to be addressed there yet but most answers are the same for both FC4 and FC5.
This Fedora Core 5 Tips & Tricks translated into Italian - Thanks to Guido for translating this guide into Italian. Please also urge Guido to choose a better picture of me.
Fedora fc5 on EasyLinux.info - Yet another guide. The thing I love about Linux is that you can solve any problem a number of different ways. That includes these tips guides, everyone has a different way. Different strokes for different folks.
|
Donate via Paypal:
All these guides are done on my personal time as a community service.
Please consider a donation to allow me to allocate the time to put
these together: | |
| The comments section below is only for comments, suggestions or corrections for this guide only. Please do not use this for general Fedora/Linux support. If you do require support for something other than what's described here I recommend using Fedora Forums. |
| Comments From People Like You! Fedora Core 5 Tips and Tricks | |
|
21-Dec-2007 16:59 |
|
Running update-alternatives --config java is essential to select new installed pluging
|
|
|
01-Nov-2007 12:39 |
|
Try start with our site map.
|
|
|
22-Feb-2007 09:59 |
|
Great site!
|
|
|
28-Dec-2006 13:03 |
|
Thanks a lot for your post. Really helpfull to put FC up and running.
|
|
|
17-Nov-2006 15:59 |
|
Hi there. Thanks. I must say its a great piece of work. I am just another novice and it helped me a lot.
|
|
|
18-Sep-2006 13:45 |
|
Some have asked for step by steps to install the drivers for the Intel Centrino Pro Wireless 2100 chip set. Here is an easy way to get up and running and have a nice GUI in GNOME. This assumes you already have NetworkManager installed from the base Fedora Core 5 repository.
|
|
|
13-Sep-2006 14:39 |
|
I also got the missing dependency when trying to install mplayer the first time. It seems like something in the Xine when installing this installs the missing dependency for mplayer. If someone else knows better, please let me know.
|
|
|
12-Sep-2006 09:44 |
|
awesome website, lost of good info. however, there is something i still don't get. i have a compaq presario r3460us with all the trimmings listed above (btw, this was lovely to see) i get to the 'dmesg' step and can get 2 different outputs, neither of which are the proper one.
|
|
|
11-Sep-2006 21:04 |
|
Just wondering if anyone knows why "yum -y install videolan-client" does not work. Has the command been changed in some manner?
|
|
|
11-Sep-2006 19:48 |
|
Just wanted to thank you for this helpful guide to integrating media support into FC5. I finally went cold-turkey on Winders last week at the urging of a computer science proffessor, and have found this to be one of the most helpful and easiest to use how-to's for adding media support to Fedora. Keep up the good work.
|
|
|
04-Sep-2006 08:55 |
|
There is another great site which I most definitively use everytime I install a Fedora Core system:
|
|
|
25-Aug-2006 18:25 |
|
If you are still having problems with the Flash plugin installing try turning off SELinux. I had spent a week trying different things. When to find out on accident that SELinux was causing it to fail. G0 F1gur3.
|
|
|
15-Aug-2006 06:02 |
|
Great work ...
|
|
|
16-Jul-2006 23:09 |
|
For AMD64 and EM64T architectures, the instructions are almost exactly the same, except that for plugin support, nspluginwrapper is needed. To install plugins in Firefox:
|
|
|
03-Jul-2006 11:58 |
|
# mkdir -p /usr/X11R6/lib/X11/fs/
|
|
|
02-Jul-2006 03:40 |
|
Hii,the matter is really useful and everything worked properly with me!thanx alot
|
|
|
01-Jul-2006 20:11 |
|
I'm really impressed. These instructions are super-handy.
|
|
|
29-Jun-2006 08:57 |
|
Thanks for all your work. You saved me hours of figuring this stuff on my own.
|
|
|
28-Jun-2006 17:43 |
|
To "Rockerz"; I think that you haven't yet "Add support for other reposities" (Livna and freshrpms). This have to do first if you want to use and install Xine. As root write so that it is in the beginning of this site.
|
|
|
28-Jun-2006 01:15 |
|
Excellent page. i had nearly given up on linux. but need some help. when i try to install the xine player this is what i get
|
|
|
26-Jun-2006 14:51 |
|
In the Xine-DVD player in my computer video jerked. I fix the problem in this way; # yum -y install xine-lib-devel and now it works fine!
|
|
|
20-Jun-2006 20:58 |
|
Thank You, i've used *BSD's and Lini for a few years now and i've only just recently started to experiment with them as using them for my desktop machine but never with much success thanks to this i have a FC5 install taht does exactly what i want it to THANKS!!
|
|
|
15-Jun-2006 20:10 |
|
To answer my own question, 'yum install libmp4v2' will pull in the appropriate package from the livna repository. Then mplayer gets installed ok.
|
|
|
15-Jun-2006 19:47 |
|
This is a great page! I wish I had it when struggling to get mp3s to play on my laptop.
|
|
|
05-Jun-2006 21:53 |
|
First, thank you very much for providing all of this extremely useful information. You have saved me much effort.
|
|
|
29-May-2006 19:51 |
|
For Easy Java Installation I Recommend Fedora Frog. It can be found at http://easylinux.info/wiki/Fedora_frog. It allows you to Install MANY Applications easily on Fedora Core 5. According to their website, all you have to do to run it is type:
|
|
|
27-May-2006 09:15 |
|
Hi, this is a great set of instructions to get fedora 5 into some sort of reasonable shape! Normally I find linux a real pain to install new apps especially coming from a windows environment! great work!
|
|
|
25-May-2006 20:58 |
|
It would be nice if you had something about wireless cards. For example i have a Fujitsu Siemens laptop with an Intel PRO Wireless 21003B Mini Pci Adapter and it wont work. Ive tried Ndiswrapper but still nothing. Do you have anything to suggest? Thanks. Again congratulations with your work!!
|
|
|
23-May-2006 00:49 |
|
You might want to have a look at this article on securing Fedora Core 5 with encrypted /home and swap partitions:
|
|
|
22-May-2006 12:58 |
|
The best way to install the Sun JDK is using the jpackage.org scripts. It has a much better setup for alternatives, although I am suspecting that the /etc/profile.d script mentioned earlier here is still necessary.
|
|
|
22-May-2006 09:04 |
|
First I'd like to give you my congratulations on this excellent work you do out there. From FC3 to FC5 you make it very easy for us newbies (and not only) to make our linux system more usable. In addition i would like to report a dead link in the MPlayer section with the essential codecs. The right link is: http://www.mplayerhq.hu/design7/dload.html.
|
|
|
22-May-2006 08:09 |
|
Well done, very helpful site. After being away from linux for about 3 years , your site was very helpful. My laast install was a RH6 and things have changed a bit. Sure glad your tips were command line, all this gui stuff is icing, nothing like a nice terminal window and a good keyboard.
|
|
|
18-May-2006 08:57 |
|
Hi,
|
|
|
15-May-2006 09:45 |
|
I started out using SuSe 7.3. Since then I played around with several distro's (Redhat, Fedora, Debian, Gentoo, Lycoris, Linspire, Ubuntu etc etc etc)
|
|
|
14-May-2006 11:08 |
|
Oh, one more thing - mozilla (and likely firefox too) caches what it knows about plugins, foiling you when you change what the plugins are doing. So, after you mess with the way plugins should be handled, be sure to delete the .mozilla/pluginreg.dat file. Mozilla will happily rebuild it for you the next time it starts, and fill it with the proper configurations rather than the outdated ones you were trying to change.
|
|
|
14-May-2006 10:46 |
|
A finer grained solution to the RealPlayer/Selinux conflict is to label the realplayer shared libs with the approriate contexts:
|
|
|
13-May-2006 07:23 |
|
Tips I'd like to add on making RealPlayer 10 and SElinux play together:
|
|
|
11-May-2006 21:59 |
|
Very excellent write up, I'm not very comfortable using my Fedora build.
|
|
|
11-May-2006 10:24 |
|
EXCELLENT write-up. I'd been pounding my head in my desk for a few hours trying to get BT DUN working with my Treo 650, to no avail, when I found this page. A one-line edit later, and I was online. You've been a huge help.
|
|
|
09-May-2006 22:32 |
|
Thanks for all the information you provided. It's awesome for a novice.
|
|
|
09-May-2006 00:56 |
|
Oh, I forgot the most important thing! Thank you for this wonderful site!
|
|
|
09-May-2006 00:55 |
|
Has anyone tried installing the yum-fastestmirror plugin? I found it by accident and did a 'yum -y install yum-fastestmirror' and it seems to help.
|
|
|
06-May-2006 23:10 |
|
Awseome man! I've been looking for a site like this, it answered all of my questions. Can't thank you enough for posting this!!
|
|
|
06-May-2006 11:50 |
|
Amazing. You da MAN!!
|
|
|
03-May-2006 07:39 |
|
I'd just like to add my praise for the help that your guide has given me setting up my PC with FC5! Thank you!
|
|
|
02-May-2006 14:28 |
|
Thank you very very much.
|
|
|
30-Apr-2006 14:19 |
|
Sensational work. Very good having this great help. It was what Fedora needed to equal with other desktop distributions. And end users lacked to adhere to the Fedora.
|
|
|
29-Apr-2006 06:04 |
|
Very very helpful guide! Thanks!
|
|
|
20-Apr-2006 21:36 |
|
Excellent, very very helpful guide.
|
|
|
14-Apr-2006 13:47 |
|
With regards RealPlayer10, I found that by going to http://www.real.com/linux and downloading the .bin file and following the instructions on that page RealPlayer installed with all the menu entries and links in place and everything just worked - including the snazzy shark scene with camera man's scuba tanks gurgling away in the background - the clip for testing if it works.
|
|
|
14-Apr-2006 13:32 |
|
OH MY GOD THANK YOU! I've been wondering what the hell was going wrong with java on mozilla/firefox, and now it's functional.
|
|
|
10-Apr-2006 10:00 |
|
Here is a link to a helpful page that (I think) answers some of the posts I read above:
|
|
|
09-Apr-2006 11:12 |
|
I can't hear any sound from xine unless I use the "-A oss" option. All other sound drivers simply don't work. Any clue?
|
|
|
09-Apr-2006 11:09 |
|
Is anyone able to view DVDs with xine?
|
|
|
06-Apr-2006 01:54 |
|
Hi there.
|
|
|
05-Apr-2006 20:54 |
|
|
|
|
05-Apr-2006 11:26 |
|
bmpx is a crap. It cracks playing an ogg files. On the other hand is quite similar to xmms, but it is unable to open a tree to find files. Install xmms and xmms-mp3, don't lose your time or bandwith.
|
|
|
03-Apr-2006 15:50 |
|
Then the livna repository is accessed for mplayer updates, which corrupts the installation which had been performed with this repository explicitly excluded. What's the solution?
|
|
|
02-Apr-2006 20:56 |
|
Does anyone know where to get an NTFS package for the 2.6.16-1.2083_FC5smp kernel? This is the patched kernel that allows for the 'nvidia' drivers to work correctly.
|
|
|
01-Apr-2006 15:05 |
|
The install of mplayer gets confused when I execute:
|
|
|
28-Mar-2006 23:19 |
|
Your website is awesome and you saved my sanity! Thank you very much!!
|
|
|
28-Mar-2006 08:37 |
|
Good Job but where is the x86_64 support? It seems most of these tips are for the i386 architecture. Can anyone direct me to a good x86_64 database.
|
|
|
28-Mar-2006 06:15 |
|
Real player installation
|
|
|
26-Mar-2006 06:33 |
|
To make use of the SUN JRE you must export the new Java paths as done in fc4.
|
|
|
23-Mar-2006 22:47 |
|
Mirroring my earlier comments, many thanks for creating & hosting the Tips & Tricks page. It's a great resource. Here's an error on the Core 5 mplayer install:
|
|
|
23-Mar-2006 18:59 |
|
Thanks for all help in my Fedora Core's (3,4,5). In this "Fedora Core 5 Tips and Tricks" page you have a mistake in spelling; # yum -y install bittorent-gui . It should be; # yum -y install bittorrent-gui (with two r letters)
|
|
|
22-Mar-2006 12:26 |
|
Thank you! Very handy and everything worked well on my box.
|
|
All pictures and text are the property of Gregory Gulik unless otherwise specified. Please contact site owner if you would like permission to use these pictures for your own purposes or to make comments about anything you see here.