Red Hat / CentOS Linux: Enable and Install Media, CD / DVD, Moive MP3 Players

by Vivek Gite on September 2, 2008 · 29 comments

Q. How do I enable and install Media player under CentOS or Fedora or Red Hat Enterprise Linux systems? How do I play mp3s under RHEL / CentOS Linux 5.x? How do I play CD / DVD movies under RHEL / CentOS Linux version 5.x?

A. EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages but you will not find mp3, dvd and music / media player under EPEL.

RPMforge Repo

RPMforge is a collaboration of Dag, Dries, and other packagers. They provide over 4000 packages for CentOS, including mplayer, xmms-mp3, dvd, cd and other popular media players tools. It is not part of RedHat or CentOS / Fedora but is designed to work with these major distributions.

How do I enable RPMforge repo?

Login as root user and type the following command at a shell prompt:
# rpm -ivh http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.$(uname -i).rpm
Sample output:

Retrieving http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
warning: /var/tmp/rpm-xfer.jWb790: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing...                ########################################### [100%]
   1:rpmforge-release       ########################################### [100%]

Import GPG keys, enter:
# rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

A note about CentOS v5.x / 4.x

You also need to install yum-priorities, which is available in the CentOS v5 / 4 repositories:
# yum -y install yum-priorities
Sample output:

Loading "skip-broken" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * epel: mirrors.xmission.com
 * base: mirrors.gigenet.com
 * updates: pubmirrors.reflected.net
 * addons: centos.mirrors.tds.net
 * extras: centos.mirrors.tds.net
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package yum-priorities.noarch 0:1.1.10-9.el5.centos set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 yum-priorities          noarch     1.1.10-9.el5.centos  base               11 k
Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 11 k
Downloading Packages:
(1/1): yum-priorities-1.1 100% |=========================|  11 kB    00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: yum-priorities               ######################### [1/1]
Installed: yum-priorities.noarch 0:1.1.10-9.el5.centos
Complete!

Test your setup

Finally, type the following command to test new repo:
# yum check-update
Sample output:

Loading "skip-broken" plugin
Loading "fastestmirror" plugin
Loading "priorities" plugin
Loading mirror speeds from cached hostfile
 * epel: mirrors.xmission.com
 * rpmforge: fr2.rpmfind.net
 * base: mirrors.gigenet.com
 * updates: pubmirrors.reflected.net
 * addons: centos.mirrors.tds.net
 * extras: centos.mirrors.tds.net
rpmforge                  100% |=========================| 1.1 kB    00:00
primary.xml.gz            100% |=========================| 2.5 MB    00:06
rpmforge  : ################################################## 7247/7247
0 packages excluded due to repository priority protections
cadaver.x86_64                           0.22.5-1.el5.rf        rpmforge
lftp.x86_64                              3.7.3-1.el5.rf         rpmforge
mtr.x86_64                               2:0.72-1.el5.rf        rpmforge
rsync.x86_64                             3.0.3-1.el5.rf         rpmforge
syslinux.x86_64                          3.71-1.el5.rf          rpmforge
udftools.x86_64                          1.0.0b3-3.el5.rf       rpmforge
[root@centos tmp]# yum check-update
Loading "skip-broken" plugin
Loading "fastestmirror" plugin
Loading "priorities" plugin
Loading mirror speeds from cached hostfile
 * epel: mirrors.xmission.com
 * rpmforge: fr2.rpmfind.net
 * base: mirrors.gigenet.com
 * updates: pubmirrors.reflected.net
 * addons: centos.mirrors.tds.net
 * extras: centos.mirrors.tds.net
0 packages excluded due to repository priority protections
cadaver.x86_64                           0.22.5-1.el5.rf        rpmforge
lftp.x86_64                              3.7.3-1.el5.rf         rpmforge
mtr.x86_64                               2:0.72-1.el5.rf        rpmforge
rsync.x86_64                             3.0.3-1.el5.rf         rpmforge
syslinux.x86_64                          3.71-1.el5.rf          rpmforge
udftools.x86_64                          1.0.0b3-3.el5.rf       rpmforge 

How do I install media players?

Type the following command to install media players:
# yum -y install mplayer vlc xmms-mp3 xmms-flac xmms-wma xmms-skins

To play mp3 enter

$ mplayer *.mp3
OR
$ xmms &

To play CD / DVD or media file enter

$ vlc moive.avi
$ vlc &
$ mplayer file.avi

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 29 comments… read them below or add one }

1 Frolov Denis September 3, 2008

for install audio and video players install EPEL and redhat-club repository

rpm -ihv http://repo.redhat-club.org/redhat/5/i386/redhatclub-repository-release-5-2.el5.rhc.noarch.rpm http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm

install audio, video software

yum install audacious*, mplayer, mplayer-gui, xine, xine-lib-extras-nonfree, xmms*, amarok, smplayer, smplayer-themes, moc, easytag, grip

install IM software

yum install psi, psi-icons, psi-i18n, licq*, gajim, sim

install bittorrent clients

yum install deluge, transmission, bittorrent, bittorrent-gui, aria2

install image viewers

yum install geeqie, f-prot

yum install djvulibre, epdfview

Reply

2 kinglyr October 12, 2008

When you go to intall moc (yum install moc) you get Error: Missing Dependency: libx264.so.58 is needed by package ffmpeg-libs

Reply

3 amitkumar October 20, 2008

mp3 player

and vcd cutter

and any softer

Reply

4 Frolov Denis October 21, 2008
# yum install moc
Loading "list-data" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * epel: mirror.yandex.ru
 * extras: mirror.yandex.ru
 * redhatclub-repository: repo.redhat-club.org
 * base: mirror.yandex.ru
 * updates: mirror.yandex.ru
 * addons: mirror.yandex.ru
 * redhatclub-repository-devel: redhat-club.org
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package moc.i386 0:2.4.3-el5.rhc.1 set to be updated
--> Processing Dependency: libavcodec.so.51 for package: moc
--> Processing Dependency: libavutil.so.49 for package: moc
--> Processing Dependency: libavformat.so.52 for package: moc
--> Running transaction check
---> Package ffmpeg-libs.i386 0:0.4.9-el5.rhc.0.46.20080225.1 set to be updated
--> Processing Dependency: libx264.so.58 for package: ffmpeg-libs
--> Running transaction check
---> Package x264.i386 0:0.0.0-el5.rhc.0.12.20080227 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 moc                     i386       2.4.3-el5.rhc.1  redhatclub-repository  166 k
Installing for dependencies:
 ffmpeg-libs             i386       0.4.9-el5.rhc.0.46.20080225.1  redhatclub-repository  1.9 M
 x264                    i386       0.0.0-el5.rhc.0.12.20080227  redhatclub-repository  248 k
Transaction Summary
=============================================================================
Install      3 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 2.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): x264-0.0.0-el5.rhc 100% |=========================| 248 kB    00:00
(2/3): ffmpeg-libs-0.4.9- 100% |=========================| 1.9 MB    00:00
(3/3): moc-2.4.3-el5.rhc. 100% |=========================| 166 kB    00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: x264                         ######################### [1/3]
  Installing: ffmpeg-libs                  ######################### [2/3]
  Installing: moc                          ######################### [3/3]
Installed: moc.i386 0:2.4.3-el5.rhc.1
Dependency Installed: ffmpeg-libs.i386 0:0.4.9-el5.rhc.0.46.20080225.1 x264.i386 0:0.0.0-el5.rhc.0.12.20080227
Complete!

Reply

5 uma November 28, 2008

Howto find out LINUX 5 CPU information, clock speed

Reply

6 nobody December 10, 2008

Hi!

I got the errors below after executing “yum install mplayer”:

Error: Missing Dependency: libdvdread.so.3 is needed by package lsdvd
Error: Missing Dependency: libcucul.so.0 is needed by package mplayer
Error: Missing Dependency: libdvdread.so.3 is needed by package libdvdplay

Anyone has an idea how to solve this problem?

Thanks.

Reply

7 Vikas January 2, 2012

try
yum install mplayer*

Add start to the end of the player

Reply

8 brajesh December 25, 2008

hi,
i m very new to rhel. i m using rhel ws 3. plz suggest how & which packages i’ll hav to
dwnld 4 playing media files. i guess u hav d right answers 4 dis.

thanx

Reply

9 kareem January 19, 2009

hi,
how to install the media players and software packages in red hat linux

Reply

10 kareem January 19, 2009

and what different red hat Linux and EPEL

THANKS

Reply

11 ranjan January 21, 2009

That is the BEST ever description of the process to get media players installed on CentOS/RHEL machines.

Saved me hours !!! Thanks a lot man. This is awesome !

I appreciate it

Reply

12 ashwani January 25, 2009

hi,
plzz tell me how can i run exe file on red hat linux 5 .and how can i install drivers four webcam and bluetootj devices

Reply

13 sathya June 21, 2010

hi you try this to activate bluetooth
\etc\init.d\bluetooth start

Reply

14 Vikas January 2, 2012

try wine

Reply

15 navdeep shanker January 31, 2009

hi i want 2 know that how can i run the exe files in red hat 9..
thanx

Reply

16 steph July 25, 2010

winehq.org

Reply

17 raj March 25, 2009

hello friend i like process to run a cd or dvd and how to install it

this is the great site i thanks to that person who made this system

REgard raj

Reply

18 sathya June 21, 2010

dude better to use this site to run cd & dvd (movies)
http://www.mplayerhq.hu/design7/dload.html

Reply

19 akki July 28, 2009

hi im using rhel5 and iwnt to download the bit torrent

Reply

20 Chetan August 7, 2009

hi everyone.

i am using centos.
here is in my music player he’s playing wav. midi file but showing eror for mp3 file
what i do please tell me solution.

Reply

21 Aditya August 17, 2009

Hey !!
plzz guide me to install VLC player on CentOS ..

ty

Reply

22 Vikas January 2, 2012

hell will work out. No to centos and redhat 6

Reply

23 Filth December 1, 2009

yum install vlc

Reply

24 Vikas January 2, 2012

yum install vlc*

Reply

25 parveen dabas January 8, 2010

dhanyawad filth

Reply

26 parveen dabas January 8, 2010

wel dhanyawad means thanks dude

Reply

27 Alwin November 29, 2010

Hello please give information about Linux CentOS to install VLC player..

Reply

28 mike December 10, 2010

Link read the part.

Reply

29 ANAND November 10, 2011

Hi tell me how to play a video player on REDHAT linux 6.0
when i install vlc softwares i got a massage that “unable to resolve dependecies”…….?
please provide me link as well as procedure step by step about installing video player.

ANAND

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">




Previous post:

Next post: