Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th July 2007, 03:52 PM
jonathonp's Avatar
jonathonp Offline
Registered User
 
Join Date: Oct 2006
Location: Melbourne
Age: 41
Posts: 528
Simple guide to setup multimedia (DVD Mp3) from 3rd party repositories fedora 7

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:

Code:
enabled=1
to

Code:
enabled=0
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:

Code:
enabled=1
to

Code:
enabled =0
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

Last edited by jonathonp; 31st July 2007 at 05:53 PM.
Reply With Quote
  #2  
Old 18th July 2007, 04:05 PM
JN4OldSchool Offline
"Sean The Terrible" -- The forum(er) Vista® rep
 
Join Date: Nov 2005
Posts: 8,823
I disagree with the repo thing but it is your guide and you give a safe way out. But you might want to think about putting the warning message in the top block of print in red so it wont be missed. I fear a newbie might skim over it and install and use both Livna and Fresh repos in an inappropriate manner. As the Fedora users giving the advice to these new folks I cant stress enough how we are responsible for pointing out this conflict, no matter which side of the Fresh/Livna fence we sit on. You also might want to give advice on future yum updates?
Reply With Quote
  #3  
Old 18th July 2007, 04:41 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
You could add this and simplify your howto as you can have all the repos enabled with this

Quote:
su
yum install yum-protectbase
su -c 'perl -i -pe "s/(\[.*\])/\1\nprotect=yes/" /etc/yum.repos.d/{fedora*,livna*}'

also you could simplify this ( this will save noobs from having to cd to the 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


you could also include these release keys which are installed in a disabled state
Attached Files
File Type: bz2 disabled-release-rpms.tar.bz2 (17.5 KB, 669 views)
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 18th July 2007 at 04:58 PM.
Reply With Quote
  #4  
Old 18th July 2007, 06:32 PM
jonathonp's Avatar
jonathonp Offline
Registered User
 
Join Date: Oct 2006
Location: Melbourne
Age: 41
Posts: 528
Thanks Leigh and JN4 for the suggestions. I updated accordingly and now that i think about it when i installed for the first time using 'Stanton Finley installation notes' with fedora 5 i had a working system up and running. without that guide i would have been lost. Great tips Leigh cheers johnny
Reply With Quote
  #5  
Old 18th July 2007, 06:56 PM
lazlow Offline
Registered User
 
Join Date: Aug 2005
Posts: 3,172
Under your livna you have a couple of typos that will cause probelms with cut and paste:

Quote:
yum -y install rhythmbox
yum -y --enablerepo install vlc mozilla-vlc
Reply With Quote
  #6  
Old 19th July 2007, 02:08 PM
koperry's Avatar
koperry Offline
Registered User
 
Join Date: Aug 2006
Location: Austin, TX
Age: 50
Posts: 84
This is one of the easiest and quickest ways to get multimedia going in F7, I got this from a page I can't locate right now but had copied into a document I saved. It handles everything I have came across.

Add the livna repository
Use the following command to add the livna repository to your sources:

rpm -ivh http://rpm.livna.org/livna-release-7.rpm

Install gstreamer plugins and ffmpeg
yum install gstreamer-plugins-ugly ffmpeg

Install xmms with mp3 support
yum install xmms xmms-mp3 xmms-skins

Install xine for DVD playback
yum install xine xine-lib libdvdcss xine-lib-extras-nonfree gxine

Install the VLC media player
yum install vlc

Replace the totem media player
Use the following commands to replace the totem media player with totem-xine:

yum remove totem totem-plparser
yum install totem-xine libdvdnav

Note: Should you choose not to install xine as described above, don't forget to install libdvdcss separately otherwise you will not be able to playback most commercial DVDs.

Install mplayer, the GUI and the mozilla plugin
yum install mplayer mplayer-gui mplayerplug-in
Reply With Quote
  #7  
Old 20th July 2007, 10:41 AM
koperry's Avatar
koperry Offline
Registered User
 
Join Date: Aug 2006
Location: Austin, TX
Age: 50
Posts: 84
I forgot to mention you will want to reinstall Rhythmbox as it will be removed when you remove Totem.
Reply With Quote
Reply

Tags
3rd, dvd, guide, mp3, multimedia, party, repositories, setup, simple

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RPMFusion - 3rd party repositories Merge martin.sourada Alpha, Beta & Snapshots Discussions (Fedora 10 Only) 115 5th November 2008 09:02 PM
Simple guide to install or update java for Fedora 6 jonathonp Guides & Solutions (No Questions) 1 27th May 2007 03:13 PM
Simple guide for VLC skin installation jonathonp Using Fedora 5 1st May 2007 10:32 AM
3rd party repositories. freshrpms or livna? xine-lib = 1.1.5 error jonathonp Using Fedora 5 26th April 2007 07:44 AM
Why are there so many third party repositories? required detail Using Fedora 1 9th March 2006 04:31 AM


Current GMT-time: 06:18 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat