Linux – Package list for Kickstart

kickstartlinux

Is there anyway I can get the package list off of a live Linux box and put that into a kickstart?


Edit: Sorry…This is on a Fedora box

Best Answer

For the common ones:

Debian/Ubuntu/Mint (for Debian/pkg type distros):

dpkg -l

(Incidentally, on Debian/Ubuntu, you use preseed)

For RedHat/CentOS/SuSE/Fedora (RedHat/RPM type distros):

rpm -qa

As a side note, if this is a relatively fresh install (no packages added after installation), you can use the ananconda-ks.cfg file and use that as base kickstart, as that contains the list of packages plus other configuration setting that was set and insatlled during the initial setup.