Removing X from a system

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Brown
Date:  
Subject: Removing X from a system
> I have two systems, one RH 7.2 and one RH 7.3 that are running fine, but
> we've determined that these systems will never, ever, under any
> circumstances, and by that I mean NEVER need to run a graphical
> interface. :-)
>
> Why that wasn't determined at installation is before my time so the
> answer to that is "I don't know."
>
> Rather than poking through individual RPM's and removing it piece by
> piece (fonts, browsers, gnome, etc.), is there a simple command line
> interface to remove groups of rpms at once, or to do the equivalent of
> the handy install tools that let you select that you don't want X or
> anything related to it? Something other than "rm" of course, and it's
> not important enough to do a reinstall.
>
> There's no rush to get this done. X isn't causing any kind of security
> issues, and disk space isn't an issue, but I'd like to eventually remove
> it since it isn't needed. This is more of a learning exercise in how to
> remove something that's this integrated with the existing system.


man rpm

leads to what looks like:
rpm -e --allmatches XFree86