Home > Fedora 9, Linux > Fedora 9 essentials guide

Fedora 9 essentials guide

A basic guide to satisfy all your needs:

NOTE:all commands r to be typed in terminal with sudo or su login
PS:” All yum commands can be replaced by package kit alternatives type “info pkcon” in terminal.

1)Adding livna repositories : (VERY ESSENTIAL ALL OTHER STEPS REQUIRE THIS)
Since Fedoras own repositories dont have much softwares use livna or packman repositories
rpm -ivh http://rpm.livna.org/livna-release-9.rpm
then yum update

2)YUMEX :install yumex for gui interface for yum , though package kit suffices.

3)MP3 SUPPORT:

Now u can either use YUMEX or type in terminal.
Gstreamer & Xine

yum -y install gstreamer-plugins-ugly gstreamer-plugins-bad libmad libid3tag amarok-extras-nonfree

Note: this is needed for players like: banshee, listen, exaile, amarok ,rhythmbox,xmms

install any player eg for amarok yum install amarok amarok-extras-nonfree

4)GCC compatibility:

Fedora 9 ships and uses GCC 4.3 (DVD). Some applications that were compiled with an older GCC (ex: 3.2) will require compatibility libraries

yum -y install compat-libstdc++-33 compat-libstdc++-296

5)REAL PLAYER:(After this if it doesn’t work refer to my other posts)

Download RealPlayer 11 from: http://www.real.com/linux/. ( preferably use .bin file)

Select: “Advanced Installation RedHat Package”

Before installing RealPlayer, make sure to have the compat-libstdc++-33 compatibility libraries installed.
yum install compat-libstdc++-33
For RPM:
sudo rpm -ivh RealPlayer11.rpm

note:if real/helix or any plugin doesnt load in firefox use: sudo /usr/bin/mozilla-plugin-config -i -f

6)Video Players: mostly vlc,xine and mplayer r used:

mplayer: yum install mplayer mplayer-gui mplayer-skins mplayer-fonts mplayerplug-in mencoder
xine yum install xine xine-lib-extras xine-lib-extras-nonfree libdvdcss
vlc yum install vlc (After this if it doesn’t work refer to my other posts)

i prefer xine as it has DVD playback.

7)Video w32 Binary Codecs: some unsupported formats can be played by installing codecs from original mplayer project:

Download http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2

then

mkdir -p /usr/lib/codecs

tar -jxvf all-20071007.tar.bz2 –strip-components 1 -C /usr/lib/codecs/

*Remember to be in su or use sudo

8)Macromedia Flash :

For 32 bit:

install the Adobe YUM repository, and install through yum:

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 libflashsupport (if you dont do this no sound for flash applicatons)

For 64 bit:

mkdir -p /usr/lib/mozilla/plugins
yum install nspluginwrapper.{i386,x86_64} pulseaud/io-lib.i386
yum install flash-plugin
mozilla-plugin-config -i -g -v

(for sound your system may require pulse audio)

*Remember to be in su or use sudo

9)Mounting Partitions: Fedora 9 has ntfs 3g preinstalled but sometimes the partitions don’t get mounted      ( or you just may want to get rid of irritating authentication for each mount)

hence editing fstab gives read/write support on boot

a) use fdisk : /sbin/fdisk -l

b) note down partions u wnt to access name (eg sda1) type (eg ntfs or FAT32)

c)open gedit in sudo mode

d)open /etc/fstab

e)make mount points:
mkdir /media/drive
drive can be replaced by whatever name u choose

f)
for ntfs drive sda1 keeping name c_drive /dev/sda1 /media/c_drive ntfs-3g rw,defaults,umask=0000 0 0
or simply /dev/sda1 /media/c_drive ntfs-3g defaults 0 0

if drive is fat use vfat instead of ntfs-3g u dont require other lines

10)Iced Tea Java is by default (dvd) installed if not use yum install java-1.7.0-icedtea java-1.7.0-icedtea-plugin

Or use download sun-java (JDK best for x86_64 for , others can use JRE. ( eg. jre-6u6-linux-i586.bin)

To switch between them

1) /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jre1.6.0_06/bin/java 100
/usr/sbin/alternatives --install /usr/bin/jar jar /usr/java/jre1.6.0_06/bin/jar 100
/usr/sbin/alternatives --install /usr/bin/javavc javavc /usr/java/jre1.6.0_06/bin/javavc 100

2)/usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/jre1.6.0_06/plugin/i386/ns7/libjavaplugin_oji.so 100
3) To use Switch among javas:
 /usr/sbin/alternatives --config java
/usr/sbin/alternatives --config libjavaplugin.so
 /usr/sbin/alternatives --config jar
4)For Java Programs:
yum install libXp compat-libstdc++-*

11)Setup Sudo:

Ideally This Topic should have been first but i mostly use su (root account)

echo 'name ALL=(ALL) ALL' >> /etc/sudoers

replace name by account name you want to give super-user privileges.
This command translates into allow user ‘name’ to run any command any where.
Password will be normal login password.

echo 'name ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers

would not prompt for password.

12)MISC:

a) To listen to music when you hover over a mp3 file and it’s also a command line player:

yum install mpg321

b)To Burn DVDs/CDs :
K3B:

yum install k3b k3b-extras-nonfree

GNOME-BAKER:

yum install gnome-baker

c)To use Windows Applications

Wine
with/without Wine-Doors or Cedega
(see my older posts)

d)Download Accelerator

Axel and Aria
(see my older posts)

e)Quake styled terminal

Yakuake ( requires kdebase) and tilda

f) RAR files

unrar

g)Windows Help Files CHM

xchm

Advertisements
  1. farrokh
    May 23, 2008 at 12:09 pm

    thanks , that was usefull

  2. May 31, 2008 at 3:54 pm

    I am trying to install firefox 2 (Cos some sites are distorted on FF3b5 and we need FF2 for development testing). But it says
    ./firefox –no-remote
    ./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

    ho can i get compat lib for the same ?

  3. djays
    June 2, 2008 at 4:52 am

    Wait you did not tell me if you are trying to install an rpm or directly using a pre-compiled binary (files in .tar.bz2 archive)
    If you are using rpm/package kit (as it looks like from your description) try using the pre-compiled binary available at firefox homepage, that way your firefox 3 config and dependencies wont clash with your firefox 2

  4. djays
    June 2, 2008 at 5:08 am
  5. June 4, 2008 at 5:11 pm

    hi,
    im new to FC9. i want to play my windows video songs on FC9. it tried so many time to install real player.but i couldn´t. can anbody tell me how to solve my problem.thanks.

  6. djays
    June 6, 2008 at 5:37 pm

    Well since you didnt exactly mention the error you were getting , i
    will go through the procedure over again

    1)yum install compat-libstdc++-33

    2) Download RPM OR BIN file from the real player site

    3) FOR RPM
    sudo rpm -ivh RealPlayer11.rpm

    4)FOR BIN
    chmod +x .bin
    ./.bin or sh .bin

    After this your real player should be working fine, if not please mention the format you are playing and the error you are getting .

  7. stoic
    June 9, 2008 at 4:34 pm

    This was the most helpful tutorial for fedora 9. I strongly suggest all newbies like me follow these instructions. I’m looking forward to looking at your other posts. Thanx!

  8. aashish
    June 12, 2008 at 2:49 pm

    very good tutorial…i don’t know if you have already written about w32codecs, but i think it should be included in this tutorial…thanks..

  9. mkinitrd
    June 15, 2008 at 2:51 am

    Big help, thanks! I squandered a day messing with a mix of VLC builds
    and downloading stock versions, had no idea it didn’t hanlde DVD.
    Or maybe it does with the right luck, but xine did it straight off.

  10. Jan
    June 15, 2008 at 5:13 pm

    hey, all gods bless your for this, now I am able to watch tv as well as use my internet banking which I was not able since I installed fedora 9 :-))))

  11. asela
    July 3, 2008 at 4:32 pm

    hi
    im new to fedora.i got problem in my fedora, when i play youtube songs there´s no sound.cannot hear sound.any body know the resone for that and how to fix it….
    thanks
    if i can reply to my mail too thanks a lot

    asw.asela@yahoo.com

  12. djays
    July 4, 2008 at 5:52 am

    Well if you did read my post you would have done this:
    yum install flash-plugin libflashsupport

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: