[CentOS] packages in "base" that are not in "nobase"

Centos centos at bartbaars.nl
Wed Oct 24 10:47:09 UTC 2007


Not sure if I understand want you mean, but...

You can do a nobase install, list all installed packages (rpm -qa), and 
save this to a file. Then install the base, en list all installed 
packages again. Export again to a file en diff those two files...

Hope this helps.

Cheers,

Bart

Johnny Hughes wrote:
> Johnn Tan wrote:
>   
>> Is there a way to list the packages that are in a "base" install, but
>> that are not in a "nobase" (core) install?
>>
>> I did a nobase install, then ran "yum groupinstall Base", but this just
>> lists everything in base, including the core packages.
>>
>> Mainly, I'm just looking to audit the packages, and add only necessary
>> ones back to a nobase install.
>>
>> So far, I've come up with sendmail, man, logwatch, logrotate, vixie-cron.
>>
>> johnn
>>     
>
> The yum group functions do not work well with hidden package groups.
>
> Probably the easiest way to do what you want is to look at the comps.xml
> file directly.
>
> For CentOS-5 that can be found here:
>
> http://mirror.centos.org/centos/5/os/i386/repodata/comps.xml
>
> That file has all the groups and files that are part of CentOS (for all
> current arches).
>
> Thanks,
> Johnny Hughes
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20071024/fc80b073/attachment.htm


More information about the CentOS mailing list