[Centos] Yum configuration question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2005-03-04 at 18:08 -0500, Ignacio Vazquez-Abrams wrote:
> On Fri, 2005-03-04 at 16:45 -0500, James B. Byrne wrote:
> > I am installing the ClamAV package from Dag's depository.  Is it 
> > possible to configure Yum to get specific packages only from a 
> > particular depository?  The reason that I ask this is that I do not 
> > want to get any updates from http://dag.wieers.com/packages other 
> > than for the particular packages that I install from there.  I 
> > would love to be able to run yum update and pick up the new clamav 
> > packages but not if this also means updating things like webmin as 
> > well.
> 
> Just leave "enabled=0" in the section for dag and pass
> "--enablerepo=dag" to yum to temporarily enable it for when you
> want/need it.
> 

man yum.conf

look at the includepkgs option.

you can specify which packages you want to use from a repository.

-sv



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux