I've written this guide for new Linux Fedora users so that installing 'multimedia from 3rd party repositories' is a really simple task and hassle free.
The first question that you might ask if you are a fedora newbie what is the repository thing all about. Well it's really quiet simple. A repository in this instance is a place where Linux users can download programs that might or might not be proprietary based in some way or another and are necessary for multimedia playback etc. You might also ask; are the repositories compatible with each other? The answer is they're not and CONFLICTS can occur which could BREAK your system. However it's not as serious as it all sounds from my point of view 'however' i don't want to encourage anybody to haphazardly download from both repositories without taking note of what you are doing because you could easily 'make a mess of things'. I mix the two repositories without any problems although my setup is quiet simple.I actually prefer not to update my multimedia all the time since updates can can be buggy now and then and i always have the roll back option at hand. If you are not sure about updating your 'multimedia packages' once they are installed using 'My Personal Repository Setup' i recommend using 'ONE' REPOSITORY ONLY so you can simply enable one repository and do a yum update. You might also choose to enable automatic updates for that repository although i would never do this.
The two repositories that i use are 'Freshrpms' and 'Livna'. The 'Freshrpms' repository comes under the name of 'RPMforge.net' which is made up of a number of different repositories (FreshRPMS, PlanetCCRMA, Dries and DAG ) which cooperate together by building their packages from the same source. The 'Livna' repository is a stand alone repository and its packages can CONFLICT with those of 'RPM.forge.net'. Now if you want don't want to use my repository setup i have given you the SAFE option first and 'My Personal Repositry Setup' is found at the bottom of the page. The single repository option also has more programs listed.
Setting up your repositories:
The first thing to do if you are a newbie is click on the links below and save them to your desktop.
http://ftp.freshrpms.net/pub/freshrp....fc.noarch.rpm
http://rpm.livna.org/livna-release-7.rpm
Next right click on
freshrpms-release-1.1-1.fc.noarch.rpm
and click 'open with software installer'. Follow the prompts to install. After that do the same with
livna-release-7.rpm
The next step which is most important is to make sure that your automatic updates for your new repositories is switched off.
To do this open applications>system tools>terminal and cut and paste the following commands:
Code:
su -
gedit /etc/yum.repos.d/livna.repo
The following text file appear:
Code:
[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
baseurl=
http://rpm.livna.org/fedora/$releasever/$basearch/
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-7
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
Change:
to
save and exit
Do the same for the 'Freshrpms' repository:
Code:
gedit /etc/yum.repos.d/freshrpms.repo
Code:
# $Id: freshrpms.repo 3341 2005-06-28 18:40:26Z thias $
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1
change:
to
save and exit
Leigh has suggested installing the following package which will protect the 'base system' from any incomptable packages.
Code:
su
yum install yum-protectbase
su -c 'perl -i -pe "s/(\[.*\])/\1\nprotect=yes/" /etc/yum.repos.d/{fedora*,livna*}'
When you want to install a program a via the terminal from one of these repositories you will have to manually tell it to so so. Automatic updates for the two new repositories are disabled.
Note Leigh has provided the two repositories in a an already disabled state. Download
http://forums.fedoraforum.org/forum/...chmentid=12828 and right click 'open with software installer' to install. This way you won't have to do a manually switch off automatic updates. Thanks Leigh and i like to add that you really are a legend in this forum for all the help you give to newbies. cheers
The next step is the easy part. To install the following programs simply cut and paste the following commands in the terminal.
Download the adobe repository to install the latest flash-plugin.
http://linuxdownload.adobe.com/adobe...0-0.noarch.rpm
Code:
yum install flash-plugin
FEDORA EXTRAS:
Code:
yum -y install yumex
yum -y install banshee
yum -y install gnomebaker
yum -y install frozen-bubble
You might also want to try the Opera web browser. You can download the rpm at
http://www.opera.com/download/
To list all packages (rpms) installed, type the following:
Code:
yum list installed|less
to remove a package:
Code:
yum remove [package name]
To forcibly remove a file or directory which is not empty do the following:
Code:
su -
rm -rf /path/to/your/file
To install DVD codecs:
Code:
su
mkdir /usr/local/lib/codecs/
mkdir /usr/lib/win32
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20061022.tar.bz2
tar xvfj *.tar.bz2
rm *.tar.bz2
cp ./all-20061022/* /usr/local/lib/codecs/
chmod 755 /usr/local/lib/codecs/*
cp /usr/local/lib/codecs/* /usr/lib/win32/
rm -rf ./all-20061022
cp /usr/local/lib/codecs/* /usr/lib/codecs
Multimedia installation from Livna only (SAFE OPTION)
Code:
yum -y remove totem
Code:
yum -y remove totem-plparser
Code:
yum -y --enablerepo livna install totem-xine
Code:
yum -y install rhythmbox
Note ´rhythmbox´ is a fedora repo. You need to install in the above order.
Code:
yum -y --enablerepo livna install totem-xine-mozplugin
yum -y --enablerepo install vlc mozilla-vlc
yum -y --enablerepo install libquicktime
yum -y --enablerepo livna install k3b k3b-extras-nonfree
yum -y --enablerepo livna install mplayer mplayer-gui mplayer-doc mplyer-fonts mplayerplug-in
yum -y --enablerepo livna install xine xine-lib xine-lib-extras-nonfree xine-lib-extras-nonfree totem-xine-mozplugin libdvdcss
yum -y --enablerepo livna install gstreamer-plugins-bad gstreamer-plugins-ugly
yum -y --enablerepo livna install xmms xmms-mp3 xmms-faad xmms-normalize
yum -y --enablerepo livna install gstreamer-plugins-bad gstreamer-plugins-ugly
yum -y --enablerepo livna install amarok-extras-nonfree
yum -y --enablerepo livna install audacious audacious-plugins-nonfree-aac audacious-plugins-nonfree-alac audacious-plugins-nonfree-lame audacious-plugins-nonfree-mms audacious-plugins-nonfree-mp3 audacious-plugins-nonfree-tta audacious-plugins-nonfree-wma
yum -y --enablerepo livna install vcdimager
yum -y --enablerepo livna install vdr-burn vdr-dxr3 vdr-mp3 vdr-mplayer vdr-mplay
yum -y --enablerepo livna install dvdrip
Multimedia installation from 'freshrpms' only (SAFE OPTION):
Code:
yum -y --enablerepo freshrpms install mplayer mplayer-skins mplayer-fonts mplayer-docs mplayerplug-in
yum -y --enablerepo freshrpms install xine xine-lib xine-skins
yum -y --enablerepo freshrpms install gstreamer-plugins-bad gstreamer-plugins-ugly xmms xmms-mp3
yum -y --enablerepo freshrpms install vlc
yum -y --enablerepo freshrpms install dvdrip
yum -y --enablerepo freshrpms install xmms xmms-mp3 xmms-wma xmms-aac
yum -y --enablerepo freshrpms install subtitleripper
yum -y --enablerepo freshrpms install dvdstyler
yum -y --enablerepo freshrpms install lsdvd
yum -y --enablerepo freshrpms install mjpegtools ffmpeg libmpeg3-utils
yum -y --enablerepo freshrpms install ogle ogle-gui
yum -y --enablerepo freshrpms install kino
My Personal Repository Setup (NOTE be careful when mixing two potentially incompatible repositories together):
If a multimedia package is not working properly which might well be a result of a packaging bug you might want to install from the other repository. This is the reason why i mix the repositories. this is my current choice at the present time and everything is working well so far. To get proprietary driver modules for wireless and video cards check the forum.
My Repository setup:
LIVNA:
Code:
yum -y remove totem
Code:
yum -y remove totem-plparser
Code:
yum -y --enablerepo livna install totem-xine
Code:
yum -y install rhythmbox
Note ´rhythmbox´ is a fedora repo. You need to installed in this order.
Code:
yum -y --enablerepo livna install vlc mozilla-vlc
yum -y --enablerepo livna install k3b k3b-extras-nonfree
FRESHRPMS:
Code:
yum -y --enablerepo freshrpms install mplayer mplayer-skins mplayer-fonts mplayer-docs mplayerplug-in
yum -y --enablerepo freshrpms install xine xine-lib xine-skins
yum -y --enablerepo freshrpms install gstreamer-plugins-bad gstreamer-plugins-ugly xmms xmms-mp3
yum -y --enablerepo freshrpms install dvdrip