[CentOS] How to properly install VLC?

Phil Schaffner P.R.Schaffner at IEEE.org
Fri Nov 18 11:38:09 UTC 2005


On Thu, 2005-11-17 at 07:00 -0500, Ryan wrote:
> Olaf Greve wrote:
> > Does anyone know how to go about this (I don't mind doing a source 
> > compilation, just as long as I now which version to grab and how to get 
> > it properly installed)?
> >
> I'd add dag, dries and atrpms to your /etc/yum.conf , then yum install 
> mplayer* gxine
> 
> With Mplyaer and gxine you will also need to go to 
> http://www.mplayerhq.hu/homepage/design7/dload.html and get the 
> necessary codecs.
> 
> User them both for awhile, and pick the one you like best.
> 
> More detailed instructions are below.
> 
> 
> 1. Edit /etc/yum.conf by adding:
> 
> [dag]
> name=Dag RPM Repository for Red Hat Enterprise Linux
> baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
> gpgcheck=1
> enabled=1
> 
> [dries]
> name=Extra Fedora rpms dries - $releasever - $basearch
> baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/dries/RPMS
> enabled=1
> 
> [atrpms]
> name=Fedora Core $releasever - $basearch - ATrpms
> baseurl=http://dl.atrpms.net/el4-i386/atrpms/stable
> enabled=0

Won't get any Axel Thimm packages without using "yum --
enablerepo=atrpms" with the above stanza.

> 2. Go to their homepages to import GPG keys or set gpgcheck=1.
> 
> 3. GEt the codec package and follow the instructions in the README. 
> http://www.mplayerhq.hu/homepage/design7/dload.html
> 
> 4, yum install mplayer* gxine

A caution about enabling the above repos: although I've used them all;
however, atrpms is particularly aggressive about replacing core packages
and config files.  If you do "yum update" with atrpms enabled you may
find some things broken and all your yum (and possibly other) repo
configs have been clobbered.  You may want to configure them all as
"enabled=0" by default and selectively update/install packages with
"enablerepo=" switches on the command line.  Using smart-pm with
priorities can also help cherry-pick the packages and deps you want with
minimal breakage.

Phil





More information about the CentOS mailing list