On Fri, 2004-10-08 at 11:38, Leendert Meyer wrote:
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?
1) in root shell do "init 3" This method shuts down the graphical system period. 2) Set Yast->System->/etc/Sysconfig Editor->DISPLAYMANAGER_STARTS_XSERVER to "no" This method allows you to vnc and/or X-Windows remote into the server (starting an XSERVER) but without using your Graphic card... Assuming the vnc and/or Remote X is configured! Jerry
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