Sunday, June 14, 2009

Adding Multimedia Support To Fedora 11

This is where getting to know your command line and loving every minute of it pays off. I'm learning and so can you. First open terminal and enter these commands:

[Johnny@localhost ~]$ su

[root@localhost liveuser]# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
Retrieving http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
warning: /var/tmp/rpm-tmp.T59gcP: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing... ########################################### [100%]
1:epel-release ########################################### [100%]
[root@localhost liveuser]# yum install foo
Loaded plugins: refresh-packagekit
adobe-linux-i386 | 951 B 00:00
adobe-linux-i386/primary | 11 kB 00:00
adobe-linux-i386 17/17
epel | 2.1 kB 00:00
epel/primary_db | 2.4 MB 00:25
fedora/metalink | 12 kB 00:00
fedora | 3.8 kB 00:00
fedora/primary_db | 8.4 MB 00:30
updates/metalink | 12 kB 00:00
updates | 4.0 kB 00:00
updates/primary_db | 974 kB 00:02
Setting up Install Process
No package foo available.
Nothing to do
[root@localhost liveuser]# rpm -Uhv http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
Retrieving http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm
Retrieving http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
warning: /var/tmp/rpm-tmp.bi9F37: Header V3 RSA/SHA256 signature: NOKEY, key ID 16ca1a56
warning: /var/tmp/rpm-tmp.QQMxvE: Header V3 RSA/SHA256 signature: NOKEY, key ID a3a882c1
error: Failed dependencies:
system-release >= 11.90 is needed by rpmfusion-free-release-11.90-1.noarch
system-release >= 11.90 is needed by rpmfusion-nonfree-release-11.90-1.noarch
[root@localhost liveuser]# rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm
Retrieving http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm
Retrieving http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm

(snipped due to length)

1:rpmfusion-free-release ########################################### [ 50%]
2:rpmfusion-nonfree-relea########################################### [100%]
[root@localhost liveuser]# yum list | grep rpmfusion-free
rpmfusion-free-release.noarch 5-0.1 installed
DVDRipOMatic.noarch 0.95-5.el5 rpmfusion-free-updates-testing
a52dec.i386 0.7.4-13.el5 rpmfusion-free-updates-testing
a52dec-devel.i386 0.7.4-13.el5 rpmfusion-free-updates-testing

(snipped due to length)

xvidcore-devel.i386 1.1.3-4.el5 rpmfusion-free-updates-testing

[root@localhost liveuser]# yum install gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg
Loaded plugins: refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gstreamer-ffmpeg.i386 0:0.10.5-1.el5 set to be updated
--> Processing Dependency: libavformat.so.52 for package: gstreamer-ffmpeg
--> Processing Dependency: libavutil.so.49 for package: gstreamer-ffmpeg
--> Processing Dependency: libpostproc.so.51 for package: gstreamer-ffmpeg
--> Processing Dependency: libavcodec.so.51 for package: gstreamer-ffmpeg
---> Package gstreamer-plugins-bad.i386 0:0.10.8-4.el5.1 set to be updated
--> Processing Dependency: libfusion-1.0.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libcdaudio.so.1 for package: gstreamer-plugins-bad

(snipped due to length)

--> Running transaction check
---> Package a52dec.i386 0:0.7.4-13.el5 set to be updated
---> Package dirac-libs.i586 0:1.0.2-2.fc11 set to be updated
---> Package directfb.i386 0:1.0.0-0.1.rc3.el5 set to be updated
---> Package faac.i386 0:1.28-1.el5 set to be updated
--> Processing Dependency: libmp4v2.so.0 for package: faac
---> Package faad2-libs.i386 1:2.6.1-5.el5 set to be updated
---> Package ffmpeg-libs.i386 0:0.4.9-0.52.20080908.el5 set to be updated
--> Processing Dependency: libImlib2.so.1 for package: ffmpeg-libs
---> Package gstreamer-plugins-ugly.i386 0:0.10.9-2.el5.1 set to be updated
--> Processing Dependency: libcdio.so.7 for package: gstreamer-plugins-ugly
--> Processing Dependency: libcdio.so.7(CDIO_7) for package: gstreamer-plugins-ugly
---> Package lame-libs.i386 0:3.97-7.el5 set to be updated

(snipped due to length)

---> Package libmpeg2.i386 0:0.5.1-3.el5 set to be updated
---> Package libofa.i586 0:0.9.3-15.fc11 set to be updated
--> Processing Dependency: libfftw3.so.3 for package: libofa
---> Package libsysfs.i586 0:2.1.0-5.fc11 set to be updated
---> Package mjpegtools-libs.i386 0:1.9.0-0.6.rc3.el5 set to be updated
--> Processing Dependency: libquicktime >= 0.9.8 for package: mjpegtools-libs
--> Processing Dependency: libquicktime.so.0 for package: mjpegtools-libs
---> Package x264-libs.i386 0:0.0.0-0.15.20080613.el5 set to be updated
---> Package xvidcore.i386 0:1.1.3-4.el5 set to be updated
--> Running transaction check
---> Package fftw.i586 0:3.2.1-2.fc11 set to be updated
---> Package gstreamer-plugins-ugly.i386 0:0.10.9-2.el5.1 set to be updated

(snipped due to length)

Error: Missing Dependency: libcdio.so.7(CDIO_7) is needed by package gstreamer-plugins-ugly-0.10.9-2.el5.1.i386 (rpmfusion-free-updates-testing)
Error: Missing Dependency: libcdio.so.7 is needed by package gstreamer-plugins-ugly-0.10.9-2.el5.1.i386 (rpmfusion-free-updates-testing)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest

Since I was missing libcdio.so.7 I ran this next:

[root@localhost liveuser]# yum install libcdio.so.7
Loaded plugins: refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libcdio.i386 0:0.78.2-5.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Installing:
libcdio i386 0.78.2-5.el5 epel 267 k

Transaction Summary
=========================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 267 k
Is this ok [y/N]: y
Downloading Packages:
libcdio-0.78.2-5.el5.i386.rpm | 267 kB 00:01
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
epel/gpgkey | 1.7 kB 00:00
Importing GPG key 0x217521F6 "Fedora EPEL <epel@fedoraproject.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
Is this ok [y/N]: y
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
libcdio.so.10 is needed by (installed) gvfs-1.2.3-2.fc11.i586
libcdio.so.10(CDIO_10) is needed by (installed) gvfs-1.2.3-2.fc11.i586
Complete!

Since it ended in an error I decided to visit the rpmfusion website and follow the instructions there. Could not have been simpler. I re-added the repositories by clicking on two links and allowing the install. Next in terminal as su I ran almost the same commands as before:

rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

and finishing with:

[root@localhost liveuser]# yum install gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg

This time it finished without errors. I now have Mp3 support and a repository to install other multimedia codecs and applications. I have to pass thanks onto Techrepublic.com and poster Vincent Danen for the missing pieces to the puzzle. Here is the link to the post by Vincent Danen.

No comments:

Post a Comment

Techbits reserves the right to not publish comments but will only exercise this right if a comment is vulgar, completely off-topic or spam.