Fedora 10

From TheGredil

Jump to: navigation, search

Before I start I just wanted to recognise a couple of useful resources. Firstly, Gregory Gulik's Fedora Tips page is good for "real-world proofing" Fedora. And, of course, the Fedora Forum is great for finding problems that other people are having (and sometimes a solution).

Contents

[edit] Same, but Better...

OpenOffice 3 alone makes this worth the upgrade. Problems have been seen with Grub when doing an upgrade from Fedora 9. More to come...

What follows is a guide to taking Fedora to the next level. Installing more software on it to get it doing what you want.

[edit] Install Repositories

This is where you tell Fedora where to look on the web for the programs you wish to install. Livna, FreshRPMS etc have now been merged into RPMFusion which makes things easier. They have a free, non-free and both repository options. The following command will install both.

rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm\ 
 http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm 

Install the Adobe Repository as follows

rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm 

[edit] Java

Download the latest JRE from http://www.java.com/. Go to the directory it downloaded to and run.

./jre-6u10-linux-i586-rpm.bin 
/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jre1.6.0_10/bin/java 1606
/usr/sbin/alternatives --config java

There are 3 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
   2           /usr/lib/jvm/jre-1.5.0-gcj/bin/java
   3           /usr/java/jre1.6.0_10/bin/java

Enter to keep the current selection[+], or type selection number: 3

And for the plugin...

alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so\
 /usr/java/jre1.6.0_06/plugin/i386/ns7/libjavaplugin_oji.so 1606
/usr/sbin/alternatives --config libjavaplugin.so
 
 There are 2 programs which provide 'libjavaplugin.so'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/jre-1.6.0-openjdk/lib/i386/IcedTeaPlugin.so
   2           /usr/java/jre1.6.0_06/plugin/i386/ns7/libjavaplugin_oji.so

Enter to keep the current selection[+], or type selection number: 2
[root@random data]#

[edit] nVidia

nVidia drivers were installed via the Add/Remove Software tool by selecting xorg-x11-drv-nvidia-???.??-?.fc10 (i386).

Note: This then promptly killed our X-display when the system rebooted. We had to uninstall the nVidia proprietary drivers by running:

yum -C remove xorg-x11-drv-nvidia

I am assuming the current nVidia proprietary drivers are not compatible with the new Kernel and will wait for them to update. It is a shame though that X didn't revert to the old gracefully like it did in FC9. Hopefully that will change soon too. Hope you have more luck with this.

[edit] Additional Software

Command line install

The following (rather lengthy) command installs some additional software to make Fedora really fly. Tweak this for your own needs. Note that you can use the Graphical Add/Remove Software tool, it just takes a lot longer. The following command adds...

[edit] Essentials

  • Thunderbird e-mail client (faster, stronger, cleaner and easier than Evolution) plus the calendar extension Lightning
  • Brasero CD/DVD burning software (very easy to use, very clean, for when k3b is over the top)
  • Mail notification applet
  • Google Gadgets for Linux
  • Adobe Reader and Flash
  • CUPSpdf for printing any file to a PDF document
  • UnRAR for decompressing RAR archive files

[edit] Media

  • MP3 support
  • VideoLAN VLC media player (this is a must have if you want to use your system for a variety of media)
  • XMMS media player
  • Banshee media player
  • Grip - good for CD ripping amongst other things
  • Xine DVD/Video player
  • MPlayer media player

[edit] Extras

  • Unison file synchronisation tool
  • Wireshark and NMAP
  • gHex hexadecimal viewer/editor
  • GQ LDAP viewer (most folk won't need this one)
yum -y install thunderbird thunderbird-lightning brasero cups-pdf \
 mail-notification google-gadgets AdobeReader_enu flash-plugin unrar \
 vlc xmms xmms-mp3 xmms-faad2 gstreamer-plugins-ugly libmad \
 libid3tag banshee grip xine xine-lib xine-lib-extras-nonfree \
 mplayer mplayer-gui gecko-mediaplayer \
 gq wireshark wireshark-gnome nmap-frontend unison ghex

Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments

--> Processing Dependency: xorg-x11-fonts-base for package: xosd
---> Package libdvdnav.i386 0:4.1.3-1.fc10 set to be updated
---> Package lirc-libs.i386 0:0.8.4a-1.fc10 set to be updated
 
    ****Truncated****            

Complete!
You have new mail in /var/spool/mail/root

[edit] Google Earth

Download Google Earth from Google here. Go to the downloaded location and as root run the following commands:

chmod 755 GoogleEarthLinux.bin 
./GoogleEarthLinux.bin 

Sample output:

Verifying archive integrity... All good.
Uncompressing Google Earth for GNU/Linux 
4.3.7284.3916..............................................................
loki_setup: Suspect size value for option option 

loki_setup: Suspect size value for option option

[edit] Skype

Skype on FC10

You can download the latest Skype RPM from Skype here (v2.0.0.72 at time of writing). Go to the download location in a terminal window and as root run the following command:

yum -y --nogpgcheck localinstall skype-2.0.0.72-fc5.i586.rpm 

Sample output:

Loaded plugins: refresh-packagekit
Setting up Local Package Process
Examining skype-2.0.0.72-fc5.i586.rpm: skype-2.0.0.72-fc5.i586
Marking skype-2.0.0.72-fc5.i586.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package skype.i586 0:2.0.0.72-fc5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================
 Package         Arch           Version                   Repository                             Size
======================================================================================================
Installing:
 skype           i586           2.0.0.72-fc5              skype-2.0.0.72-fc5.i586.rpm            19 M

Transaction Summary
======================================================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 19 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : skype                                                                          1/1 
ERROR:dbus.proxies:Introspect error on :1.42:/org/freedesktop/PackageKit: dbus.exceptions.DBusException: 
org.freedesktop.DBus.Error.AccessDenied: A security policy in place prevents this sender from sending this 
message to this recipient, see message bus configuration file (rejected message had interface 
"org.freedesktop.DBus.Introspectable" member "Introspect" error name "(unset)" destination ":1.42")

Installed:
  skype.i586 0:2.0.0.72-fc5                                                                               

Complete!
[root@random data]#

[edit] Other Tips

[edit] Converting media formats

I found FFMPEG to be an excellent tool for converting media formats. A good one of these is impossible to find on Windows.

To install just run...

yum -y install ffmpeg

or search for ffmpeg in your graphic package installer

Example: To covert an .avi or .divx file to .wmv you could run...

ffmpeg -i video.divx -vcodec wmv2 -y video.wmv

where:

  • video.divx is the input or original file
  • wmv2 is the codec you're converting to
  • video.wmv is the output or destination filename

There are loads of other file types and things you can do with it though including resizing videos.

Personal tools
related