yum include?!?

valent.turkovic at gmail.com valent.turkovic at gmail.com
Wed Feb 16 18:35:23 UTC 2011


On Wed, Feb 16, 2011 at 1:09 PM, Andre Robatino
<robatino at fedoraproject.org> wrote:
> valent.turkovic <at> gmail.com <valent.turkovic <at> gmail.com> writes:
>
>> Hi,
>> I was looking for a way to use ONLY specific packages from some repos,
>> and exclude everything else. There are some repos that have just one
>> or two packages I want/need.
>> I don't want other packages conflicting others in fedora repos. Is
>> there a way to exclude everything except few specific packages?
>
> See the repo-specific "exclude" and "includepkgs" options from the yum.conf man
> page.
>
>              exclude Same as the [main] exclude  option  but  only  for  this
>              repository.   Substitution  variables, described below, are hon‐
>              ored here.
>
>              includepkgs Inverse of exclude. This is a list of  packages  you
>              want  to  use  from  a repository. If this option lists only one
>              package then that is all yum will ever see from the  repository.
>              Defaults  to  an  empty list.  Substitution variables, described
>              below, are honored here.
>

Thanks, I was looking only in yum man page and didn't look into
yum.conf man page. This is exactly what I needed. Cheers!


More information about the users mailing list