On Friday 08 October 2004 03:49, Lucky Leavell wrote:
SuSE 9.1
As an alternative to the minimal install, I would like to either remove KDE and X11 or at least disable them. What is the least painful way to do this?
The list of packages that make up a minimal install are in 9.1/suse/setup/descr/MINIMAL.sel. Have a look at that file, it is not difficult to read, and it should be easy to extract a *sorted* list with only package names from it (name it e.g. minfiles.txt). To get a sorted list of installed packages: rpm -qa --qf '%{NAME}\n' | sort > curfiles.txt if you do diff -U 0 curfiles.txt minfiles.txt | grep '^-[^-]' | sed 's:^-::' then you get a nice list of packages that are not in MINIMAL.sel. If you uninstall those packages, you would get a minimal installation. But have a good look at that list before you uninstall those packages, there might be undesired side effects (e.g. you want to keep a particular package). Cheers, Leen