if you are interested to contribute your LAB PROGRAM Please send mail to jkumaron@gmail.com

How To Install Vlc Player In Redhat Linux Using Yum

How to Create Repo File *.repo For vlc
1)Repo file located under /etc/yum.repos.d/ with *.repo extension
LINE 1)[name ]
LINE 2)Name of the Repo
LINE 3)BaseURL = Location of the Repo - /repodata/ *.xml.gz
LINE 4)gpgcheck 1/0 Enable/Disable
LINE 5)enabled

create vlc.repo file under /etc/yum.repos.d/
LINE 1)[vlc]
LINE 2)name=vlc
LINE 3)baseurl=http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/
LINE 4)enabled=1
LINE 5)gpgcheck=0
2)yum install vlc
So that, First it will download vlc packages.
Then it will install the vlc player.

Repo File BaseURL - http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/
1)It should have sub directory Name "repodata"
2)Under Here it has file name with extension .xml.gz and .xml
then only it should work perfectly   
For Example Base URL
condor-Development - http://www.cs.wisc.edu/condor/yum/development/rhel5
VLC                               - http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/

If we are not Give the Correct baseurl. For then, it will through Following error message.
#yum install vlc
http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/repodata/primary.xml.gz: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: failure: repodata/primary.xml.gz from vlc: [Errno 256] No more mirrors to try

Becuase -
Both of these files are not present here.
Due to that  reason,it is through Error message.Install vlc player in Redhat Linux

Related post