Howto:Installing VLC Media Player / RHEL 6.x / CentOS 6.x 32 bit / 64 bit ( x86_64) / Using Script / Linux
Hello Guys,
Updated on :- 16th May,2013
I got huge response from you guys for My Previous VLC installation script on RHEL 5.x, So Many Users requested me to post Same Kind of Script for RHEL 6 and I am done with it. I am Very thankful to each and every user who have given so nice response to my that post. I hope they will enjoy this post too
Previously I have written Script to Install VLC Player on RHEL 5.x 32 bit for Automatic Installation, You can say a script which i have designed to install VLC Player Very Quickly and without any dependecy problems.
This time I have written script to install VLC Player on RHEL 6.x and CentOS 6.x for Both Architecture ( 32bit and X86_64 (64Bit). I hope this script helps you.
To Make it more simple I have created Own RPM So This time there will be 1 additional step that You have to follow.
Note :- This script is tested in Local Environment, Think many times before you execute on Production/Local/Anywhere, Do it at your OWN RISK.
Following things must exist on your Computer/Linux to execute this script:-
=> Direct Working Internet Connection or Yum Should run from Terminal. If you are using Internet connection with Proxy then it will be problematic for you.
=> RHEL 6.x and CentOS 6.x must be installed with 32bit or X86_64 Arch.
This time couple of addition steps to make it more simple. So This time VLC Installation in 7 Steps.
1) You have to be root to execute this script.
2) Download RPM ( Auto VLC Redhat Centos6) which I have specially created for VLC Installation Script , You can use RPMs for CentOS 6 too.Click on Following link to Download RPM for Your Architecture :-
32 bit Users click on this link :- http://www.tejasbarot.com/RPMs/avrc6-tejas-barot-linux-0.1.0-1.el6.i686.rpm
64 bit Users click on this link :- http://www.tejasbarot.com/RPMs/avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64.rpm
3) Execute Following Commands as per your Respective architecture :-
For 32 Bit Architecture :-
[root@linux-support-tejas-barot ~]# rpm -ivh avrc6-tejas-barot-linux-0.1.0-1.el6.i686.rpm
For 64(X86_64) bit Architecture :-
[root@linux-support-tejas-barot ~]# rpm -ivh avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64.rpm
4) Download VLC Installation Script for RHEL6 and CentOS 6 ,
Click this link :- http://www.tejasbarot.com/Scripts/vlc6-installation.sh
5) Execute following Command where you have downloaded the script.
[root@linux-support-tejas-barot ~]# chmod +x vlc6-installation.sh
6). Now Execute your script by two ways mentioned below
[root@linux-support-tejas-barot ~]# sh vlc6-installation.sh OR [root@linux-support-tejas-barot ~]# ./vlc6-installation.sh
7) Once you Execute it will ask you 4 Options to Install as per your OS and Architecture and 5th Option for Exit Select Option as per your OS and Architecture
Press (R32) to Install VLC on RHEL 6.x on 32bit
Press (R64) to Install VLC on RHEL 6.x on 64bit
Press (C32) to Install VLC on CentOS 6.x on 32bit
Press (C64) to Install VLC on CentOS 6.x on 64bit
Press (E) to Exit anytime
Please Enter your Selection: <Put Your Option Here and Press Enter>
8) Remember you have to be normal user to run VLC Player, You cannot Run VLC Player as root.
Hope You like this.
Hope this will helps you all, If you face any issue regarding the same or its not working for your some how then please raise your questions / issues at http://linuxforums.tejasbarot.com
If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.
Ask for Linux Commercial Support :- http://www.tejasbarot.com/linux-commercial-support/
All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/
Please Keep in Touch with Social Networking :-
Facebook :- https://www.facebook.com/tejasbarot.official
Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog
Twitter :- https://www.twitter.com/imtejasbarot
LinkedIn :- http://in.linkedin.com/in/imtejasbarot
Enjoy VLC
Enjoy Scripting
Enjoy Linux
Enjoy Open Source
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.













Hello,
You have selected correct architecture ???
Are you able to contact internet through terminal ???
Provide me output of following command :-
#arch
#lsb_release -a
# ping 4.2.2.2
# ping google.com
hi i am using internet via proxy . i tried installing vlc however i occured this problem.
Please Enter your Selection:R64
You have selected VLC Installation for RHEL 6.x…. Just Sit back and Relax…..
You are running as a root, Moving to next step…..
You can continue, Your Red Hat Linux version is 6.0
Creating Temp Directories…..
Configuring New Repositories……
NON GUI Download Client is already installed.
You are good to go, All Repository is already configured….
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
tejas-barot-vlc | 3.7 kB 00:00
tejas-barot-vlc/primary_db | 4.2 MB 00:16
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package vlc.x86_64 0:0.9.9a-7.el5.rf set to be updated
–> Processing Dependency: libavformat.so.52(LIBAVFORMAT_52)(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libavutil.so.50(LIBAVUTIL_50)(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libgnutls.so.13(GNUTLS_1_3)(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libpostproc.so.51(LIBPOSTPROC_51)(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libavcodec.so.52(LIBAVCODEC_52)(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libswscale.so.0(LIBSWSCALE_0)(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libavcodec.so.52()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libdvdnav.so.4()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libdvbpsi.so.6()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libliveMedia.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: liblirc_client.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libkate.so.1()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libdvdread.so.3()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libavformat.so.52()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: liba52.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libFLAC.so.7()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libzvbi.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libdca.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libixml.so.2()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libcvaux.so.1()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libswscale.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libebml.so.2()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libgnutls.so.13()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libid3tag.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libfribidi.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libdirac_decoder.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libhighgui.so.1()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libcxcore.so.1()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libxosd.so.2()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libtwolame.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libfaad.so.2()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libpostproc.so.51()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libml.so.1()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libavutil.so.50()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libupnp.so.3()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libSDL_image-1.2.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libvgagl.so.1()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libBasicUsageEnvironment.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libartsc.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libmodplug.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libSDL-1.2.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libQtGui.so.4()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libdirac_encoder.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libUsageEnvironment.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libportaudio.so.2()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libgroupsock.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libaa.so.1()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libcddb.so.2()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libcaca.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libmpeg2.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libsysfs.so.2()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libesd.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libcv.so.1()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libvga.so.1()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libmad.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libaudiofile.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libmatroska.so.2()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Running transaction check
—> Package SDL.x86_64 0:1.2.14-2.el6 set to be updated
—> Package SDL_image.x86_64 0:1.2.10-1.el5.rf set to be updated
—> Package a52dec.x86_64 0:0.7.4-8.el5.rf set to be updated
—> Package aalib.x86_64 0:1.4.0-5.el5.rf set to be updated
–> Processing Dependency: libgpm.so.1()(64bit) for package: aalib-1.4.0-5.el5.rf.x86_64
—> Package arts.x86_64 8:1.5.10-10.el6 set to be updated
—> Package audiofile.x86_64 1:0.2.6-11.1.el6 set to be updated
—> Package dirac.x86_64 0:1.0.2-1.el5.rf set to be updated
–> Processing Dependency: libcppunit-1.12.so.0()(64bit) for package: dirac-1.0.2-1.el5.rf.x86_64
—> Package esound-libs.x86_64 1:0.2.41-3.1.el6 set to be updated
—> Package faad2.x86_64 0:2.7-1.el5.rf set to be updated
—> Package ffmpeg.x86_64 0:0.6.1-1.el5.rf set to be updated
–> Processing Dependency: libx264.so.107()(64bit) for package: ffmpeg-0.6.1-1.el5.rf.x86_64
–> Processing Dependency: libmp3lame.so.0()(64bit) for package: ffmpeg-0.6.1-1.el5.rf.x86_64
–> Processing Dependency: libopencore-amrnb.so.0()(64bit) for package: ffmpeg-0.6.1-1.el5.rf.x86_64
–> Processing Dependency: libopencore-amrwb.so.0()(64bit) for package: ffmpeg-0.6.1-1.el5.rf.x86_64
–> Processing Dependency: libfaac.so.0()(64bit) for package: ffmpeg-0.6.1-1.el5.rf.x86_64
—> Package ffmpeg-libpostproc.x86_64 0:0.6.1-1.el5.rf set to be updated
—> Package libcaca.x86_64 0:0.99-0.1.beta17.el5.rf set to be updated
–> Processing Dependency: libglut.so.3()(64bit) for package: libcaca-0.99-0.1.beta17.el5.rf.x86_64
—> Package libcddb.x86_64 0:1.3.1-1.el5.rf set to be updated
–> Processing Dependency: libcdio.so.7(CDIO_7)(64bit) for package: libcddb-1.3.1-1.el5.rf.x86_64
–> Processing Dependency: libcdio.so.7()(64bit) for package: libcddb-1.3.1-1.el5.rf.x86_64
—> Package libdca.x86_64 0:0.0.5-1.el5.rf set to be updated
—> Package libdvbpsi.x86_64 0:0.1.7-1.el5.rf set to be updated
—> Package libdvdnav.x86_64 0:0.1.10-3.el5.rf set to be updated
—> Package libdvdread.x86_64 0:0.9.7-1.el5.rf set to be updated
–> Processing Dependency: libdvdcss >= 1.2.5 for package: libdvdread-0.9.7-1.el5.rf.x86_64
—> Package libebml.x86_64 0:1.0.0-1.el5.rf set to be updated
—> Package libid3tag.x86_64 0:0.15.1b-11.el6 set to be updated
—> Package libkate.x86_64 0:0.3.7-1.el5.rf set to be updated
—> Package libmad.x86_64 0:0.15.1b-4.el5.rf set to be updated
—> Package libmatroska.x86_64 0:1.0.0-1.el5.rf set to be updated
—> Package libmodplug.x86_64 0:0.8.7-1.el5.rf set to be updated
—> Package libsysfs.x86_64 0:2.1.0-6.1.el6 set to be updated
—> Package libupnp.x86_64 0:1.6.6-1.el5.rf set to be updated
—> Package lirc.x86_64 0:0.6.6-4.el5.rf set to be updated
—> Package live555.x86_64 0:0-0.27.2010.04.09.el5.rf set to be updated
—> Package mpeg2dec.x86_64 0:0.4.1-2.el5.rf set to be updated
—> Package opencv.x86_64 0:1.0.0-1.el5.rf set to be updated
—> Package portaudio.x86_64 0:19-1.20071207.el5.rf set to be updated
—> Package qt-x11.x86_64 1:4.6.2-16.el6 set to be updated
–> Processing Dependency: qt-sqlite(x86-64) = 1:4.6.2-16.el6 for package: 1:qt-x11-4.6.2-16.el6.x86_64
–> Processing Dependency: phonon-backend(x86-64) >= 4.3 for package: 1:qt-x11-4.6.2-16.el6.x86_64
—> Package svgalib.x86_64 0:1.9.25-1.el5.rf set to be updated
—> Package twolame.x86_64 0:0.3.13-1.el5.rf set to be updated
—> Package vlc.x86_64 0:0.9.9a-7.el5.rf set to be updated
–> Processing Dependency: libgnutls.so.13(GNUTLS_1_3)(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libFLAC.so.7()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libgnutls.so.13()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libfribidi.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
—> Package xosd.x86_64 0:2.2.14-1.el5.rf set to be updated
—> Package zvbi.x86_64 0:0.2.33-2.el5.rf set to be updated
–> Running transaction check
—> Package aalib.x86_64 0:1.4.0-5.el5.rf set to be updated
–> Processing Dependency: libgpm.so.1()(64bit) for package: aalib-1.4.0-5.el5.rf.x86_64
—> Package cppunit.x86_64 0:1.12.0-3.el5.rf set to be updated
—> Package faac.x86_64 0:1.26-1.el5.rf set to be updated
—> Package freeglut.x86_64 0:2.6.0-1.el6 set to be updated
—> Package lame.x86_64 0:3.98.4-1.el5.rf set to be updated
—> Package libcddb.x86_64 0:1.3.1-1.el5.rf set to be updated
–> Processing Dependency: libcdio.so.7(CDIO_7)(64bit) for package: libcddb-1.3.1-1.el5.rf.x86_64
–> Processing Dependency: libcdio.so.7()(64bit) for package: libcddb-1.3.1-1.el5.rf.x86_64
—> Package libdvdcss.x86_64 0:1.2.10-1.el5.rf set to be updated
—> Package opencore-amr.x86_64 0:0.1.2-1.el5.rf set to be updated
—> Package phonon-backend-gstreamer.x86_64 1:4.6.2-16.el6 set to be updated
—> Package qt-sqlite.x86_64 1:4.6.2-16.el6 set to be updated
—> Package vlc.x86_64 0:0.9.9a-7.el5.rf set to be updated
–> Processing Dependency: libgnutls.so.13(GNUTLS_1_3)(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libFLAC.so.7()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libgnutls.so.13()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
–> Processing Dependency: libfribidi.so.0()(64bit) for package: vlc-0.9.9a-7.el5.rf.x86_64
—> Package x264.x86_64 0:0.0.0-0.4.20101111.el5.rf set to be updated
–> Finished Dependency Resolution
Error: Package: vlc-0.9.9a-7.el5.rf.x86_64 (rpmforge)
Requires: libFLAC.so.7()(64bit)
Error: Package: vlc-0.9.9a-7.el5.rf.x86_64 (rpmforge)
Requires: libgnutls.so.13()(64bit)
Error: Package: vlc-0.9.9a-7.el5.rf.x86_64 (rpmforge)
Requires: libgnutls.so.13(GNUTLS_1_3)(64bit)
Error: Package: libcddb-1.3.1-1.el5.rf.x86_64 (rpmforge)
Requires: libcdio.so.7(CDIO_7)(64bit)
Available: libcdio-0.77-1.el5.rf.x86_64 (rpmforge)
libcdio.so.7(CDIO_7)(64bit)
Error: Package: vlc-0.9.9a-7.el5.rf.x86_64 (rpmforge)
Requires: libfribidi.so.0()(64bit)
Error: Package: libcddb-1.3.1-1.el5.rf.x86_64 (rpmforge)
Requires: libcdio.so.7()(64bit)
Available: libcdio-0.77-1.el5.rf.x86_64 (rpmforge)
libcdio.so.7()(64bit)
Error: Package: aalib-1.4.0-5.el5.rf.x86_64 (rpmforge)
Requires: libgpm.so.1()(64bit)
You could try using –skip-broken to work around the problem
2:fribidi0-0.10.4-0.i586 has missing requires of ld-linux.so.2
2:fribidi0-0.10.4-0.i586 has missing requires of libc.so.6
2:fribidi0-0.10.4-0.i586 has missing requires of libc.so.6(GLIBC_2.0)
2:fribidi0-0.10.4-0.i586 has missing requires of libc.so.6(GLIBC_2.1)
2:fribidi0-0.10.4-0.i586 has missing requires of libc.so.6(GLIBC_2.1.3)
rpmforge-release-0.5.2-2.el6.rf.x86_64 is a duplicate with rpmforge-release-0.5.2-2.el5.rf.x86_64
There is something wrong with your Internet Connection..Or You forgot some step.
Restoring your Previous repositories……
Hello,
Are you trying to run as root ? If yes, then switch to normal user and then try.
Hello Tejas
thank you for this great installation script.
The installation works great but when I start vlc I get this error:
Package: vlc-1.1.11-1.el6.rf
Latest Crash: Di 25 Okt 2011 11:27:04
Command: vlc
Reason: Process /usr/bin/vlc was killed by signal 6 (SIGABRT)
Comment: None
Bug Reports:
You have some idea what that can be?
I am new on Linux ^^ and have no idea what to do.
That’s great! It works the first time. Thanks.
The problem with both the solution in this article and the one HT suggests in his comment is you will effectively break the ability to rely on yum update to work. You see both rpmforge and rpmfusions have different builds of the same software. Eventually, you will find one of your updates will fail because the versions the dependencies for something comes from the wrong site for the update to work. If you are going to break the stability of your system, then it is probably better to use Fedora. I saw this problem almost right away with aalib on one site and aalib-lib on the other conflicting. Since rpmfusion is the site that best follows the rules of not overriding base packages, I would personally recommend only using rpmfusion and not rpmforge. But then of course there is no vlc package to installed.
Ultimately what I ended up doing is downloading the vlc source rpm, and rebuilding just to depend on rpmfusion and other dependencies I also rebuilt form the source rpms…
Hello,
You are using Higher version of RPM that’s why it is a problem.
Are you sure you are using rhel 6?
Please provide me output of following commands :-
#lsb_release -a
#cat /etc/redhat-release
#uname -a
#cat /etc/issue
I will surely try to help you out.
Hello,
This is because of your have installed RPMForge which is compatible with RHEL 5.
Execute Following command and run VLC Installation script it will work.
[root@tejas-barot-linux-ahmedabad ~]# rpm -e –nodeps rpmforge-release-0.5.2-2.el5.rf.i386
Hi,
This is from Jayendra, i am unable to install vlc on my redhat. I tried to install avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64.rpm but got an error.
Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64.
please help me so i can install vlc.
waiting for your reply.
hi Tejas,
I am using a good internet connection and did not miss any step but still i get the following error(s). Please help me out. I am on 32 bit RHEL 6.
Please Enter your Selection:R32
You have selected VLC Installation for RHEL 6.x…. Just Sit back and Relax…..
You are running as a root, Moving to next step…..
You can continue, Your Red Hat Linux version is 6.0
Moving Exisiting Repositories……
Configuring New Repositories……
NON GUI Download Client is already installed.
Configuring Tejas Barot’s Repository for VLC Installation….
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package vlc.i386 0:0.9.9a-7.el5.rf set to be updated
–> Processing Dependency: libliveMedia.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libportaudio.so.2 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: liblirc_client.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libxosd.so.2 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libdvdnav.so.4 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libBasicUsageEnvironment.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libcaca.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libmad.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libartsc.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libavcodec.so.52 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libgroupsock.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: liba52.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libavformat.so.52 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libdirac_decoder.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libpostproc.so.51 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libfribidi.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libvgagl.so.1 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libavcodec.so.52(LIBAVCODEC_52) for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libdvdread.so.3 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libhighgui.so.1 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libpostproc.so.51(LIBPOSTPROC_51) for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libcvaux.so.1 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libUsageEnvironment.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libtwolame.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libesd.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libmodplug.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libml.so.1 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libavutil.so.50(LIBAVUTIL_50) for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libkate.so.1 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libdirac_encoder.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libmpeg2.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libvga.so.1 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libebml.so.2 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libupnp.so.3 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libcv.so.1 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libcxcore.so.1 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libavutil.so.50 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libgnutls.so.13 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libgnutls.so.13(GNUTLS_1_3) for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libfaad.so.2 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libswscale.so.0(LIBSWSCALE_0) for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libid3tag.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libavformat.so.52(LIBAVFORMAT_52) for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libswscale.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libcddb.so.2 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libSDL_image-1.2.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libdca.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libsysfs.so.2 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libixml.so.2 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libFLAC.so.7 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libdvbpsi.so.6 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libaudiofile.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libmatroska.so.2 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libaa.so.1 for package: vlc-0.9.9a-7.el5.rf.i386
–> Running transaction check
—> Package SDL_image.i386 0:1.2.10-1.el5.rf set to be updated
—> Package a52dec.i386 0:0.7.4-8.el5.rf set to be updated
—> Package aalib.i386 0:1.4.0-5.el5.rf set to be updated
–> Processing Dependency: libgpm.so.1 for package: aalib-1.4.0-5.el5.rf.i386
—> Package arts.i686 8:1.5.10-10.el6 set to be updated
—> Package audiofile.i686 1:0.2.6-11.1.el6 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-1.0.2-1.el5.rf.i386
—> Package esound-libs.i686 1:0.2.41-3.1.el6 set to be updated
—> Package faad2.i386 0:2.7-1.el5.rf set to be updated
—> Package ffmpeg.i386 0:0.6.1-1.el5.rf set to be updated
–> Processing Dependency: libopencore-amrnb.so.0 for package: ffmpeg-0.6.1-1.el5.rf.i386
–> Processing Dependency: libfaac.so.0 for package: ffmpeg-0.6.1-1.el5.rf.i386
–> Processing Dependency: libx264.so.107 for package: ffmpeg-0.6.1-1.el5.rf.i386
–> Processing Dependency: libopencore-amrwb.so.0 for package: ffmpeg-0.6.1-1.el5.rf.i386
–> Processing Dependency: libmp3lame.so.0 for package: ffmpeg-0.6.1-1.el5.rf.i386
—> Package ffmpeg-libpostproc.i386 0:0.6.1-1.el5.rf set to be updated
—> Package libcaca.i386 0:0.99-0.1.beta17.el5.rf set to be updated
–> Processing Dependency: libglut.so.3 for package: libcaca-0.99-0.1.beta17.el5.rf.i386
—> Package libcddb.i386 0:1.3.1-1.el5.rf set to be updated
–> Processing Dependency: libcdio.so.7(CDIO_7) for package: libcddb-1.3.1-1.el5.rf.i386
–> Processing Dependency: libcdio.so.7 for package: libcddb-1.3.1-1.el5.rf.i386
—> Package libdca.i386 0:0.0.5-1.el5.rf set to be updated
—> Package libdvbpsi.i386 0:0.1.7-1.el5.rf set to be updated
—> Package libdvdnav.i386 0:0.1.10-3.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-0.9.7-1.el5.rf.i386
—> Package libebml.i386 0:1.0.0-1.el5.rf set to be updated
—> Package libid3tag.i686 0:0.15.1b-11.el6 set to be updated
—> Package libkate.i386 0:0.3.7-1.el5.rf set to be updated
—> Package libmad.i386 0:0.15.1b-4.el5.rf set to be updated
—> Package libmatroska.i386 0:1.0.0-1.el5.rf set to be updated
—> Package libmodplug.i386 0:0.8.7-1.el5.rf set to be updated
—> Package libsysfs.i686 0:2.1.0-6.1.el6 set to be updated
—> Package libupnp.i386 0:1.6.6-1.el5.rf set to be updated
—> Package lirc.i386 0:0.6.6-4.el5.rf set to be updated
—> Package live555.i386 0:0-0.27.2010.04.09.el5.rf set to be updated
—> Package mpeg2dec.i386 0:0.4.1-2.el5.rf set to be updated
—> Package opencv.i386 0:1.0.0-1.el5.rf set to be updated
—> Package portaudio.i386 0:19-1.20071207.el5.rf set to be updated
—> Package svgalib.i386 0:1.9.25-1.el5.rf set to be updated
—> Package twolame.i386 0:0.3.13-1.el5.rf set to be updated
—> Package vlc.i386 0:0.9.9a-7.el5.rf set to be updated
–> Processing Dependency: libfribidi.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libgnutls.so.13 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libgnutls.so.13(GNUTLS_1_3) for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libFLAC.so.7 for package: vlc-0.9.9a-7.el5.rf.i386
—> Package xosd.i386 0:2.2.14-1.el5.rf set to be updated
–> Running transaction check
—> Package aalib.i386 0:1.4.0-5.el5.rf set to be updated
–> Processing Dependency: libgpm.so.1 for package: aalib-1.4.0-5.el5.rf.i386
—> Package cppunit.i386 0:1.12.0-3.el5.rf set to be updated
—> Package faac.i386 0:1.26-1.el5.rf set to be updated
—> Package freeglut.i686 0:2.6.0-1.el6 set to be updated
—> Package lame.i386 0:3.98.4-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(CDIO_7) for package: libcddb-1.3.1-1.el5.rf.i386
–> Processing Dependency: libcdio.so.7 for package: libcddb-1.3.1-1.el5.rf.i386
—> Package libdvdcss.i386 0:1.2.10-1.el5.rf set to be updated
—> Package opencore-amr.i386 0:0.1.2-1.el5.rf set to be updated
—> Package vlc.i386 0:0.9.9a-7.el5.rf set to be updated
–> Processing Dependency: libfribidi.so.0 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libgnutls.so.13 for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libgnutls.so.13(GNUTLS_1_3) for package: vlc-0.9.9a-7.el5.rf.i386
–> Processing Dependency: libFLAC.so.7 for package: vlc-0.9.9a-7.el5.rf.i386
—> Package x264.i386 0:0.0.0-0.4.20101111.el5.rf set to be updated
–> Finished Dependency Resolution
Error: Package: vlc-0.9.9a-7.el5.rf.i386 (rpmforge)
Requires: libfribidi.so.0
Error: Package: libcddb-1.3.1-1.el5.rf.i386 (rpmforge)
Requires: libcdio.so.7(CDIO_7)
Available: libcdio-0.77-1.el5.rf.i386 (rpmforge)
libcdio.so.7(CDIO_7)
Error: Package: aalib-1.4.0-5.el5.rf.i386 (rpmforge)
Requires: libgpm.so.1
Error: Package: vlc-0.9.9a-7.el5.rf.i386 (rpmforge)
Requires: libgnutls.so.13(GNUTLS_1_3)
Error: Package: vlc-0.9.9a-7.el5.rf.i386 (rpmforge)
Requires: libgnutls.so.13
Error: Package: libcddb-1.3.1-1.el5.rf.i386 (rpmforge)
Requires: libcdio.so.7
Available: libcdio-0.77-1.el5.rf.i386 (rpmforge)
libcdio.so.7
Error: Package: vlc-0.9.9a-7.el5.rf.i386 (rpmforge)
Requires: libFLAC.so.7
You could try using –skip-broken to work around the problem
rpmforge-release-0.5.2-2.el6.rf.i686 is a duplicate with rpmforge-release-0.5.2-2.el5.rf.i386
There is something wrong with your Internet Connection..Or You forgot some step.
Restoring your Previous repositories……
Thanks so much for your efforts. It worked flawlessly. Cheers, Spud
Typically I have to find and install all of the required packages myself, this was a wonderful experience.
Thank you!!!
awesome. you have done your job very well. thx !!!
Hi,
Very thanks yaar
The script worked fine
And i am able to install VLC and its working fine
Thanks for posting the script
Thanks a lot for comments.
very good efforts taking thanks
terrific and really efforts
Hi,
Thanks for your comment.
Hello,
Good that It worked for you.
To Run vlc as root you have to compile with option run-as-root, Shortly I will post the things about it.
vlc is installed…….thnx alott…:-)
i want to run vlc as root…..what i’ve to do for that????
Hello,
Output seems that you are using 32-bit Architecture, Select Option 1 (R32).
R32 option will work for you let me know still if you have queries.
the outputs are as:——
[root@localhost Desktop]# arch
i686
[root@localhost Desktop]# lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.0 (Santiago)
Release: 6.0
Codename: Santiago
[root@localhost Desktop]# uname -a
Linux localhost.localdomain 2.6.32-71.el6.i686 #1 SMP Wed Sep 1 01:26:34 EDT 2010 i686 i686 i386 GNU/Linux
AWESOME!!!!!!!! Freaking Sweet! THANK YOU!
Hello,
Can you provide me output of Following Commands ? So I will try to help you out.
1) arch
2) lsb_release -a
3) uname -a
hi,
how to add rpmforge in rhel 6.can you please tell me the steps…if you can then please help me
Hi,
thanks.
i’ve done installation with the steps being told by you on RHEL 5,but vlc is not going to install in RHEL 6.I am getting some error.I am showing you the error…..please resolve it or tell me something which can help me…….
[root@119 Desktop]# rpm -ivh avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64.rpm
Preparing… ########################################### [100%]
package avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64 is intended for a x86_64 architecture
[root@119 Desktop]# chmod +x vlc6-installation.sh
[root@119 Desktop]# ./vlc6-installation.sh
Press (R32) to Install VLC on RHEL 6.x on 32bit
Press (R64) to Install VLC on RHEL 6.x on 64bit
Press (C32) to Install VLC on CentOS 6.x on 32bit
Press (C64) to Install VLC on CentOS 6.x on 64bit
Press (E) to Exit anytime
Please Enter your Selection:R64
You have selected VLC Installation for RHEL 6.x…. Just Sit back and Relax…..
You are running as a root, Moving to next step…..
You can continue, Your Red Hat Linux version is 6.0
Moving Exisiting Repositories……
Configuring New Repositories……
NON GUI Download Client is already installed.
Configuring Tejas Barot’s Repository for VLC Installation….
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package vlc available.
Error: Nothing to do
There is something wrong with your Internet Connection..Or You forgot some step.
Restoring your Previous repositories……
There is no problem with the internet.please tell me something which can help me.
thanxx it worked for me too
gr88 job
Hi,
There are several method to do it and if you are good enough to do it by yum or rpm method then its easy but let me tell you this script for those who wants to install without any headache or knowing background process and also seen that most people are facing issue with dependences and they don’t know how to resolve it or then don’t want to waste time behind it, So because of that I have written script, this will helps to many people and its more for eAsy process instead of calling it “complication”.
Thanks for sharing but I do not understand why to compicate with an script and an rpm when you can do as follows:
1) Install rpmforge: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
2) yum install yum-plugin-priorities -y
3) Edit /etc/yum.repos.d/rpmforge.repo
and append line: priority = 1
after [rpmforge] and after [rpmforge-extras]
4) yum install vlc -y
That’s it.
Hi Tejas,
Good work!! It worked out of box for me.
regds.,
Ramakrishna.
Hello,
To run vlc player as root, you have to compile vlc player with run-as-root option.
How vlc player is run in root account?
bro i install it it it was smooth but when i opened it vlc crash report dispaly
Hi Leif,
Thanks for sharing the fix, If somebody gets error like this then your comment definitely help them. Thanks a lot.
Got the error:
–> Finished Dependency Resolution
Error: Package: vlc-1.1.11-1.el6.rf.x86_64 (rpmforge)
Requires: libmodplug.so.0()(64bit)
Available: libmodplug-0.8.7-1.el6.rf.x86_64 (rpmforge)
libmodplug.so.0()(64bit)
Error: Package: vlc-1.1.11-1.el6.rf.x86_64 (rpmforge)
Requires: libthreadutil.so.2()(64bit)
Available: libupnp-1.6.6-1.el6.rf.x86_64 (rpmforge)
libthreadutil.so.2()(64bit)
Error: Package: vlc-1.1.11-1.el6.rf.x86_64 (rpmforge)
Requires: libupnp.so.3()(64bit)
Available: libupnp-1.6.6-1.el6.rf.x86_64 (rpmforge)
libupnp.so.3()(64bit)
You could try using –skip-broken to work around the problem
had to remove two packages to make it work:
#yum remove libupnp libmodplug
After this the script worked
Thanks for trying and for your comment.
Keep visiting blog.
Thanks for your comment and rating. Keep visiting blog.
It IS WORKING,Successufully.
Thank You……………….
my rating is 100%
thankx, it really works and easy to follow your steps;
Hello,
Have you follow steps properly ? Installed avrc6-linux-tejas-barot-xxx.rpm ????
Please send me output of cat /etc/redhat-release
I will try to solve it out. Its a dependency problem. Its conflicting packages.
—> Package unicap.x86_64 0:0.9.5-4.el6 set to be updated
—> Package vlc.x86_64 0:1.1.11-1.el6.rf set to be updated
–> Processing Dependency: libupnp.so.3()(64bit) for package: vlc-1.1.11-1.el6.rf.x86_64
–> Processing Dependency: libthreadutil.so.2()(64bit) for package: vlc-1.1.11-1.el6.rf.x86_64
–> Finished Dependency Resolution
Error: Package: vlc-1.1.11-1.el6.rf.x86_64 (rpmforge)
Requires: libthreadutil.so.2()(64bit)
Available: libupnp-1.6.6-1.el6.rf.x86_64 (rpmforge)
libthreadutil.so.2()(64bit)
Error: Package: vlc-1.1.11-1.el6.rf.x86_64 (rpmforge)
Requires: libupnp.so.3()(64bit)
Available: libupnp-1.6.6-1.el6.rf.x86_64 (rpmforge)
libupnp.so.3()(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
Restoring your Previous repositories……
this is what i get :/
It’s very simple to install, after a few minutes everything was working. Great Job.
Hi Punit,
This means that there is a problem with your Internet Connection. Are able to ping outside from your terminal ???
Let me know will try to help you out.
Hi,
First of all thank you for such kind of information.
But I am trying to install vlc in my redhat6 but very first time I thought that it will work fine but in the end the process gave me an error as follow:
“There is something wrong with your Internet Connection..Or You forgot some step.
Restoring your Previous repositories……”
can you please tell what is kind of network connection this installation required…
Hi Abhishek,
Pre-Requisites is that you of-course should have some good knowledge of Linux Commands as well as some trouble shooting.
Hi,
Thanks for the comment.
No You are not supposed to remove anything as it will not affect to your linux but yes if you want to remove you can remove avrc6-tejas-barot-linux-0.1.0-1.el6.i386 and rpmforge-release rpm which is installed by script. But if you dont want to remove keep it it will not make any effect but when you try to upgrade or install some other package it might conflict not sure.
What are the pre-requisite things one should know/learn before be able to make a scriptlike the one U have made.(Just asking,I never expect to really do it)
Thanks a LOT.Worked like butter for me.
Am I supposed to “remove” something after successful installation?
Hi,
Thanks for your comment.
It is may be because you have updated some package and its not compatible with current VLC Player.
Post me exact error will try to solve the error and let you know for the same.
I sucessfully ran your scriot on centos 6, then I had to delete it in order to run an update. next i tried to run the script again and it failed citing 3 missing packages. I hven’t got a clue on what to do next.
Regardless, thanks for the work you put into creating the script