Minimum Required RPM Packages for Running Fedora

Joseph L. Casale jcasale at activenetwerx.com
Wed Jul 14 16:49:47 UTC 2010


>Cause first I need to know what are those essential packages! after
>that, as you and other guys said I can use kickstart to picking up
>them.

I use this in rhel 5 right before I list the extra packages I want
such as tar/openssh etc...

%pre
#!/bin/bash
yum groupinfo base | perl -we 'my $in_mand = 0;
while (<>) { $in_mand =0 if /\s+default packages/i;
print if $in_mand;
$in_mand = 1 if /\s+mandatory packages/i;
 }' > /tmp/package_base_mandatory
%end
 
%packages --nobase
@ Core
%include /tmp/package_base_mandatory
dhclient
irqbalance
logwatch
mailx
microcode_ctl
net-snmp
net-snmp-utils
net-snmp-devel
nfs-utils
ntp
openssh-clients
openssh-server
postfix
readahead
screen
tar
vim-common
vim-enhanced
yum
yum-priorities


More information about the users mailing list