Tuesday, June 22, 2010

Install vlcplayer in Linux

How to install vlcplayer?

I know you may have faced problem installing vlcplayer on Linux. Here I will give an example to install vlcplayer through yum on RHEL5.3.

Step 1:
You first need to configure your local yum repository.

Step 2:
You can download rpmforge-release rpm which will configure rpmforge repository for you. The rpm can be downloaded
You need to add a file named rpmforge.repo under /etc/yum.repos.d/ with the following content in it:
[rpmforge]
name = Red Hat Enterprise $releasever - RPM forge.net - dag
#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
enabled=1
protect=0
gpgcheck=0

Step 3:
Execute the following command to install vlcplayer:
[root@pxeclient yum.repos.d]# yum install vlc
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package vlc.i386 0:0.9.9a-1.el5.rf set to be updated
--> Processing Dependency: libtag.so.1 for package: vlc
--> Processing Dependency: libcddb.so.2 for package: vlc
--> Processing Dependency: libcxcore.so.1 for package: vlc
--> Processing Dependency: libdvdread.so.3 for package: vlc
--> Processing Dependency: libSDL_image-1.2.so.0 for package: vlc
--> Processing Dependency: libx264.so.68 for package: vlc
--> Processing Dependency: libmatroska.so.0 for package: vlc
--> Processing Dependency: libupnp.so.3 for package: vlc
--> Processing Dependency: libixml.so.2 for package: vlc
--> Processing Dependency: libid3tag.so.0 for package: vlc
--> Processing Dependency: libdirac_encoder.so.0 for package: vlc
--> Processing Dependency: libml.so.1 for package: vlc
--> Processing Dependency: libswscale.so.0 for package: vlc
--> Processing Dependency: libdirac_decoder.so.0 for package: vlc
--> Processing Dependency: libavutil.so.49 for package: vlc
--> Processing Dependency: liba52.so.0 for package: vlc
--> Processing Dependency: libavformat.so.52 for package: vlc
--> Processing Dependency: libebml.so.0 for package: vlc
--> Processing Dependency: libdvbpsi.so.4 for package: vlc
--> Processing Dependency: libxosd.so.2 for package: vlc
--> Processing Dependency: libhighgui.so.1 for package: vlc
--> Processing Dependency: libpostproc.so.51 for package: vlc
--> Processing Dependency: libcvaux.so.1 for package: vlc
--> Processing Dependency: libQtCore.so.4 for package: vlc
--> Processing Dependency: libcv.so.1 for package: vlc
--> Processing Dependency: libQtGui.so.4 for package: vlc
--> Processing Dependency: libmpeg2.so.0 for package: vlc
--> Processing Dependency: libzvbi.so.0 for package: vlc
--> Processing Dependency: libfaad.so.0 for package: vlc
--> Processing Dependency: libmodplug.so.0 for package: vlc
--> Processing Dependency: libdca.so.0 for package: vlc
--> Processing Dependency: libshout.so.3 for package: vlc
--> Processing Dependency: libavcodec.so.52 for package: vlc
--> Running transaction check
---> Package faad2.i386 0:2.6.1-1.el5.rf set to be updated
---> Package libmatroska.i386 0:0.8.1-1.el5.rf set to be updated
---> Package libcddb.i386 0:1.3.1-1.el5.rf set to be updated
--> Processing Dependency: libcdio.so.7 for package: libcddb
--> Processing Dependency: libcdio.so.7(CDIO_7) for package: libcddb
---> Package libdvbpsi.i386 0:0.1.5-2.el5.rf set to be updated
---> Package libdca.i386 0:0.0.5-1.el5.rf set to be updated
---> Package ffmpeg.i386 0:0.5-1.el5.rf set to be updated
--> Processing Dependency: libImlib2.so.1 for package: ffmpeg
--> Processing Dependency: libamrnb.so.3 for package: ffmpeg
--> Processing Dependency: libamrwb.so.3 for package: ffmpeg
---> Package libebml.i386 0:0.7.8-1.el5.rf set to be updated
---> Package ffmpeg-libpostproc.i386 0:0.5-1.el5.rf set to be updated
---> Package libupnp.i386 0:1.6.6-1.el5.rf set to be updated
--> Processing Dependency: libx264.so.55 for package: mplayer
---> Package libshout.i386 0:2.2.2-1.el5.rf set to be updated
---> Package SDL_image.i386 0:1.2.5-1.el5.rf set to be updated
---> Package xosd.i386 0:2.2.14-1.el5.rf set to be updated
---> Package libdvdread.i386 0:0.9.7-1.el5.rf set to be updated
--> Processing Dependency: libdvdcss >= 1.2.5 for package: libdvdread
---> Package qt4.i386 0:4.2.1-1 set to be updated
---> Package libid3tag.i386 0:0.15.1b-3.el5.rf set to be updated
---> Package mpeg2dec.i386 0:0.4.1-2.el5.rf set to be updated
---> Package zvbi.i386 0:0.2.33-1.el5.rf set to be updated
---> Package dirac.i386 0:1.0.2-1.el5.rf set to be updated
--> Processing Dependency: libcppunit-1.12.so.0 for package: dirac
---> Package libmodplug.i386 0:0.8.7-1.el5.rf set to be updated
---> Package opencv.i386 0:1.0.0-1.el5.rf set to be updated
---> Package taglib.i386 0:1.5-1.el5.rf set to be updated
---> Package a52dec.i386 0:0.7.4-8.el5.rf set to be updated
---> Package x264.i386 0:0.0.0-0.4.20090708.el5.rf set to be updated
--> Running transaction check
---> Package libcdio.i386 0:0.77-1.el5.rf set to be updated
---> Package amrnb.i386 0:7.0.0.2-1.el5.rf set to be updated
---> Package mplayer.i386 0:1.0-0.40.svn20090711.el5.rf set to be updated
--> Processing Dependency: liblzo2.so.2 for package: mplayer
---> Package cppunit.i386 0:1.12.0-3.el5.rf set to be updated
---> Package amrwb.i386 0:7.0.0.3-1.el5.rf set to be updated
---> Package libdvdcss.i386 0:1.2.10-1.el5.rf set to be updated
---> Package imlib2.i386 0:1.4.0-1.el5.rf set to be updated
--> Running transaction check
---> Package lzo2.i386 0:2.02-3.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================
Package             Arch  Version                     Repository               Size
=======================================================================================
Installing:
vlc                 i386  0.9.9a-1.el5.rf             rpmforge                  21 M
Updating:
mplayer             i386  1.0-0.40.svn20090711.el5.rf rpmforge                 5.2 M
x264                i386  0.0.0-0.4.20090708.el5.rf   rpmforge                 898 k
Installing for dependencies:
SDL_image           i386  1.2.5-1.el5.rf              rpmforge                  84 k
a52dec              i386  0.7.4-8.el5.rf              rpmforge                  78 k
amrnb               i386  7.0.0.2-1.el5.rf            rpmforge                 237 k
amrwb               i386  7.0.0.3-1.el5.rf            rpmforge                 190 k
cppunit             i386  1.12.0-3.el5.rf             rpmforge                 811 k
dirac               i386  1.0.2-1.el5.rf              rpmforge                 2.9 M
faad2               i386  2.6.1-1.el5.rf              rpmforge                 329 k
ffmpeg              i386  0.5-1.el5.rf                rpmforge                 2.5 M
ffmpeg-libpostproc  i386  0.5-1.el5.rf                rpmforge                  23 k
imlib2              i386  1.4.0-1.el5.rf              rpmforge                 947 k
libcddb             i386  1.3.1-1.el5.rf              rpmforge                 113 k
libcdio             i386  0.77-1.el5.rf               rpmforge                 514 k
libdca              i386  0.0.5-1.el5.rf              rpmforge                 136 k
libdvbpsi           i386  0.1.5-2.el5.rf              rpmforge                  66 k
libdvdcss           i386  1.2.10-1.el5.rf             rpmforge                  64 k
libdvdread          i386  0.9.7-1.el5.rf              rpmforge                 126 k
libebml             i386  0.7.8-1.el5.rf              rpmforge                 297 k
libid3tag           i386  0.15.1b-3.el5.rf            rpmforge                  75 k
libmatroska         i386  0.8.1-1.el5.rf              rpmforge                 701 k
libmodplug          i386  0.8.7-1.el5.rf              rpmforge                 425 k
libshout            i386  2.2.2-1.el5.rf              rpmforge                 115 k
libupnp             i386  1.6.6-1.el5.rf              rpmforge                 297 k
lzo2                i386  2.02-3.el5.rf               rpmforge                 131 k
mpeg2dec            i386  0.4.1-2.el5.rf              rpmforge                 190 k
opencv              i386  1.0.0-1.el5.rf              rpmforge                 4.3 M
qt4                 i386  4.2.1-1                     RHEL5_ISO_CDs_Repository 7.1 M
taglib              i386  1.5-1.el5.rf                rpmforge                 978 k
xosd                i386  2.2.14-1.el5.rf             rpmforge                  60 k
zvbi                i386  0.2.33-1.el5.rf             rpmforge                 925 k

Transaction Summary
=======================================================================================
Install     30 Package(s)        
Update       2 Package(s)        
Remove       0 Package(s)        

Total download size: 52 M
Is this ok [y/N]: y
Downloading Packages:
(1/32): ffmpeg-libpostproc-0.5-1.el5.rf.i386.rpm                   |  23 kB     00:00    
(2/32): xosd-2.2.14-1.el5.rf.i386.rpm                              |  60 kB     00:00    
(3/32): libdvdcss-1.2.10-1.el5.rf.i386.rpm                         |  64 kB     00:00    
(4/32): libdvbpsi-0.1.5-2.el5.rf.i386.rpm                          |  66 kB     00:02    
(5/32): libid3tag-0.15.1b-3.el5.rf.i386.rpm                        |  75 kB     00:02    
(6/32): a52dec-0.7.4-8.el5.rf.i386.rpm                             |  78 kB     00:01    
(7/32): SDL_image-1.2.5-1.el5.rf.i386.rpm                          |  84 kB     00:02    
(8/32): libcddb-1.3.1-1.el5.rf.i386.rpm                            | 113 kB     00:03    
(9/32): libshout-2.2.2-1.el5.rf.i386.rpm                           | 115 kB     00:03    
(10/32): libdvdread-0.9.7-1.el5.rf.i386.rpm                        | 126 kB     00:04    
(11/32): lzo2-2.02-3.el5.rf.i386.rpm                               | 131 kB     00:04    
(12/32): libdca-0.0.5-1.el5.rf.i386.rpm                            | 136 kB     00:04    
(13/32): amrwb-7.0.0.3-1.el5.rf.i386.rpm                           | 190 kB     00:06    
(14/32): mpeg2dec-0.4.1-2.el5.rf.i386.rpm                          | 190 kB     00:06    
(15/32): amrnb-7.0.0.2-1.el5.rf.i386.rpm                           | 237 kB     00:07    
(16/32): libupnp-1.6.6-1.el5.rf.i386.rpm                           | 297 kB     00:11    
(17/32): libebml-0.7.8-1.el5.rf.i386.rpm                           | 297 kB     00:10    
(18/32): faad2-2.6.1-1.el5.rf.i386.rpm                             | 329 kB     00:09    
(19/32): libmodplug-0.8.7-1.el5.rf.i386.rpm                        | 425 kB     00:15    
(20/32): libcdio-0.77-1.el5.rf.i386.rpm                            | 514 kB     00:17    
(21/32): libmatroska-0.8.1-1.el5.rf.i386.rpm                       | 701 kB     00:22    
(22/32): cppunit-1.12.0-3.el5.rf.i386.rpm                          | 811 kB     00:29    
(23/32): x264-0.0.0-0.4.20090708.el5.rf.i386.rpm                   | 898 kB     00:02    
(24/32): zvbi-0.2.33-1.el5.rf.i386.rpm                             | 925 kB     00:30    
(25/32): imlib2-1.4.0-1.el5.rf.i386.rpm                            | 947 kB     00:31    
(26/32): taglib-1.5-1.el5.rf.i386.rpm                              | 978 kB     00:33    
(27/32): ffmpeg-0.5-1.el5.rf.i386.rpm                              | 2.5 MB     01:29    
(28/32): dirac-1.0.2-1.el5.rf.i386.rpm                             | 2.9 MB     01:41    
(29/32): opencv-1.0.0-1.el5.rf.i386.rpm                            | 4.3 MB     00:29    
(30/32): mplayer-1.0-0.40.svn20090711.el5.rf.i386.rpm              | 5.2 MB     03:06    
(32/32): vlc-0.9.9a-1.el5.rf.i386.rpm                              |  21 MB     12:18    
-----------------------------------------------------------------------------------------
Total                                                      29 kB/s |  52 MB     30:51    
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : x264                                            [ 1/34]
  Installing     : amrwb                                           [ 2/34]
  Installing     : libebml                                         [ 3/34]
  Installing     : libdca                                          [ 4/34]
  Installing     : amrnb                                           [ 5/34]
  Installing     : libid3tag                                       [ 6/34]
  Installing     : faad2                                           [ 7/34]
  Installing     : a52dec                                          [ 8/34]
  Installing     : imlib2                                          [ 9/34]
  Installing     : libmatroska                                     [10/34]
  Installing     : zvbi                                            [11/34]
  Installing     : lzo2                                            [12/34]
  Installing     : cppunit                                         [13/34]
  Installing     : dirac                                           [14/34]
  Installing     : mpeg2dec                                        [15/34]
  Installing     : qt4                                             [16/34]
  Installing     : libcdio                                         [17/34]
  Installing     : libcddb                                         [18/34]
  Installing     : libshout                                        [19/34]
  Installing     : xosd                                            [20/34]
  Installing     : libupnp                                         [21/34]
  Installing     : opencv                                          [22/34]
  Installing     : SDL_image                                       [23/34]
  Installing     : libdvbpsi                                       [24/34]
  Installing     : taglib                                          [25/34]
  Installing     : libmodplug                                      [26/34]
  Installing     : libdvdcss                                       [27/34]
  Installing     : libdvdread                                      [28/34]
  Updating       : mplayer                                         [29/34]
  Installing     : ffmpeg-libpostproc                              [30/34]
  Installing     : ffmpeg                                          [31/34]
  Installing     : vlc                                             [32/34]
  Cleanup        : x264                                            [33/34]
  Cleanup        : mplayer                                         [34/34]

Installed: vlc.i386 0:0.9.9a-1.el5.rf
Dependency Installed: SDL_image.i386 0:1.2.5-1.el5.rf a52dec.i386 0:0.7.4-8.el5.rf amrnb.i386 0:7.0.0.2-1.el5.rf amrwb.i386 0:7.0.0.3-1.el5.rf cppunit.i386 0:1.12.0-3.el5.rf dirac.i386 0:1.0.2-1.el5.rf faad2.i386 0:2.6.1-1.el5.rf ffmpeg.i386 0:0.5-1.el5.rf ffmpeg-libpostproc.i386 0:0.5-1.el5.rf imlib2.i386 0:1.4.0-1.el5.rf libcddb.i386 0:1.3.1-1.el5.rf libcdio.i386 0:0.77-1.el5.rf libdca.i386 0:0.0.5-1.el5.rf libdvbpsi.i386 0:0.1.5-2.el5.rf libdvdcss.i386 0:1.2.10-1.el5.rf libdvdread.i386 0:0.9.7-1.el5.rf libebml.i386 0:0.7.8-1.el5.rf libid3tag.i386 0:0.15.1b-3.el5.rf libmatroska.i386 0:0.8.1-1.el5.rf libmodplug.i386 0:0.8.7-1.el5.rf libshout.i386 0:2.2.2-1.el5.rf libupnp.i386 0:1.6.6-1.el5.rf lzo2.i386 0:2.02-3.el5.rf mpeg2dec.i386 0:0.4.1-2.el5.rf opencv.i386 0:1.0.0-1.el5.rf qt4.i386 0:4.2.1-1 taglib.i386 0:1.5-1.el5.rf xosd.i386 0:2.2.14-1.el5.rf zvbi.i386 0:0.2.33-1.el5.rf
Updated: mplayer.i386 0:1.0-0.40.svn20090711.el5.rf x264.i386 0:0.0.0-0.4.20090708.el5.rf
Complete!
[root@pxeclient yum.repos.d]#


The total packages installed is 30 packages and sized about 52M.

You cannot run vlcplayer as root.

No comments:

Post a Comment

Kubernetes 1.31 || Testing the Image Volume mount feature using Minikube

With Kubernetes new version 1.31 ( https://kubernetes.io/blog/2024/08/13/kubernetes-v1-31-release/ ) there are so many features releases for...