5 easy steps to installing Fedora Core Release 6 goodies.

Skyline

Registered
Messages
47
Please note this is for the 32 bit installs

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...)

[macromedia]name=Macromedia for i386 Linux
baseurl=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


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/

And u can download best video plaer vlc


Code:
yum install vlc
 

Skyline

Registered
Messages
47
script

If u want u can use a script to all inn same time



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
 
Top