Re: yum include?!?

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

 



On Wed, Feb 16, 2011 at 1:09 PM, Andre Robatino
<robatino@xxxxxxxxxxxxxxxxx> 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!
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux