Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
5 easy steps to installing Fedora Core Release 6 goodies.
#1

thanks Randall for reminding me to do this :)

 

Please note this is for the 32 bit installs

 

if you find this article useful, then I'd appreciate if you'd digg it !

 

as root (su -) install the current livna rpm to get access to livna's goodies

 



Code:
rpm -ivh http://rpm.livna.org/fedora/6/i386/livna-release-6-1.noarch.rpm




 

now let's add freshrpm's to that list

 



Code:
rpm -ivh http://ayo.freshrpms.net/fedora/linux/6/i386/RPMS.freshrpms/freshrpms-release-1.1-1.fc.noarch.rpm




 

ok, done. Now lets have some fun:-

 

 

1. let's install the MP3 plugins (currently gstreamer-plugins-mp3 is BAD so will error, but try again in a day or two)

 



Code:
yum -y install xmms-mp3 gstreamer-plugins-mp3 libmad libid3tag




 

 

2. lets install the Flash plugin

 

use vi to create a new file

 

 



Code:
vi /etc/yum.repos.d/flash.repo




 

 

now copy the text below and paste it into the new file (press I to INSERT text...)

Quote:[macromedia]name=Macromedia for i386 Linuxbaseurl=http://macromedia.mplug.org/rpm/

enabled=1

gpgcheck=1

gpgkey=http://macromedia.mplug.org/FEDORA-GPG-KEY
 

 

save the file with :wq

 



Code:
yum -y install flash-plugin




 

 

3. Next up for multimedia action and DVD playing we will install xine

 

 



Code:
yum -y install xine xine-lib xine-skins




 

 

4. A Fedora install would not be complete without the coolest video player mplayer, so let's install it

 

 



Code:
yum -y --disablerepo=livna install mplayer mplayer-skins mplayer-fonts




 

 

and now we'll install the windows codecs for mplayer

 



Code:
wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
gtar xjvf essential-20061022.tar.bz2
mkdir /usr/local/lib/win32
mv essential-20061022/* /usr/local/lib/win32




 

now we need to install the mplayer plugin for web browsers

 

 



Code:
yum -y install mplayerplug-in




 

5. Install Java !

 

Download Java JDK 5.0 Update 8 (not 9 as it causes problems)

 

Get over to Sun's Java download site and choose the Linux RPM in self-extracting file version.

 

Linux RPM in self-extracting file jdk-1_5_0_08-linux-i586-rpm.bin 45.48 MB

 

Open a Terminal.

Become root:

 



Code:
su -




 

Change back to your home directory (instead of root's home directory):

 



Code:
cd ~username




 

Where "username" is your normal username.

 

Run the file that you downloaded, by doing:

 



Code:
sh Desktop/jdk-1_5_0_08-linux-i586-rpm.bin




 

It will display a license agreement. You can press q to skip it.

Type "yes" when it asks you if you agree. Then it will install Java.

 

 

Finally,you can enable the Java plugin for your web browser:

 

 



Code:
ln -s /usr/java/jdk1.5.0_08/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/




 

 

cheers

anyweb

Reply
#2

This is an awesome and simple trick to getting the majority of the goodies that people want, its a wonder why there isn't someone packaging this for a one-stop-shop install :)

 

Thanks Randall / anyweb

Reply
#3

Um .. yeah a script, nice idea!

 

Here we go :P

 



Code:
#!/bin/sh

PROGNAME=`basename $0 .sh`

if [ `id -u` -ne 0 ]
then
echo "${PROGNAME}: Please login as root"
exit 2
fi

echo "> installing livna repo"
rpm -ivh http://rpm.livna.org/fedora/6/i386/livna-release-6-1.noarch.rpm
echo "> installing freshrpms repo"
rpm -ivh http://ayo.freshrpms.net/fedora/linux/6/i386/RPMS.freshrpms/freshrpms-release-1.1-1.fc.noarch.rpm

echo ">> installing MP3 plugins"
yum -y install xmms-mp3 gstreamer-plugins-mp3 libmad libid3tag

if [ ! -f "/etc/yum.repos.d/flash.repo" ]
then
echo "> installing flash plug-in repo"
cat >/etc/yum.repos.d/flash.repo <<EOF
name=Macromedia for i386 Linux
baseurl=http://macromedia.mplug.org/rpm/
enabled=1
gpgcheck=1
gpgkey=http://macromedia.mplug.org/FEDORA-GPG-KEY
EOF
fi

echo ">> installing flash plug-in"
yum -y install flash-plugin
echo ">> installing Xine for DVDs"
yum -y install xine xine-lib xine-skins
echo ">> installing mplayer"
yum -y --disablerepo=livna install mplayer mplayer-skins mplayer-fonts

if [ ! -d "/usr/local/lib/win32" ]
then
echo ">>> creating mplayer codecs directory"
mkdir -p /usr/local/lib/win32
echo ">>> downloading mplayer codecs"
wget -q http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2 -O /tmp/tmp.tbz2
echo ">> installing mplayer codecs"
tar -xjvf /tmp/tmp.tbz2 -C /usr/local/lib/win32 && rm -f /tmp/tmp.tbz2
fi

echo ">> installing mplayer plug-in"
yum -y install mplayerplug-in

if [ -f "$HOME/jdk-1_5_0_08-linux-i586-rpm.bin" ]
then
echo ">> installing java - hit q to skip license, and then 'yes' to agree"
sh $HOME/jdk-1_5_0_08-linux-i586-rpm.bin

echo ">> installing java plug-in"
ln -s /usr/java/jdk1.5.0_08/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
fi




Reply
#4

here's the script for those who don't know how to copy/paste

 

rename .txt extension to .sh

 

as follows:-

 



Code:
mv 5_easy_steps_to_installing_Fedora_Core_Release_6_goodies.txt 5_easy_steps_to_installing_Fedora_Core_Release_6_goodies.sh




5_easy_steps_to_installing_Fedora_Core_Release_6_goodies.txt



Attached Files
.txt   5_easy_steps_to_installing_Fedora_Core_Release_6_goodies.txt (Size: 1.7 KB / Downloads: 19)
Reply
#5
Nice post thx B)
Reply
#6

Great post - Thanks, anyweb!

 

I have an FC6 64 bit system - I thought I installed the 32 bit OS on my machine, but after it was all said & done, there it was, in 64 glorious bits, and the challenges started. Mostly, it's the flash plugin and freenx that I really miss.

 

I followed along the post otherwise:

- the repositories work great if you substitute x86_64 for i386 in their paths (the rpm commands)

- there's no 64-bit flash plugin - if you want to run flash on your 64-bit system, I think you need to install a 32-bit browser...

- the JDK that downloads from Sun does not have a 64 bit java plugin either... bummer

Reply
#7
Hi there im totally anoob, i dont know where to begin, i have fedora 6, and i have no idea how to install could you please help i read the thread and i can't even my command, i root to my pachage manager, and i try to cut and paste files but it does'nt work, could you please help
Reply
#8

hi,

 

you have to issue these commands in a terminal

 

click on Applications, Accessories, Terminal.

 

then login as root, to do so type this in the terminal

 



Code:
su -




 

once done, do the rest of the howto above.

 

cheers

anyweb

Reply
#9

If you find that the java plugin is still missing, then it might be an idea to try under your user plugins directory (do this as your user):



Code:
# mkdir ~/.mozilla/plugins
# ln -s  /usr/java/jdk1.5.0_08/jre/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins




Reply
#10
Great guide. o_O Thank you very much. ;) ;) ;)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)