How do you remove GUI post install?
-
- Posts: 2
- Joined: 2019/11/06 20:00:13
How do you remove GUI post install?
I mistakenly installed the CentOS 8 w/ a GUI. The server is already running services, so reinstalling is not an option. I want to uninstall/remove the GUI to save resources on the VM host.
Looking at sudo yum grouplist, it looks like the GUI is configured a bit differently than in 7, and you cannot remove the GUI the same way. The environment grouplist installed is "Server with GUI."
Thank you
Looking at sudo yum grouplist, it looks like the GUI is configured a bit differently than in 7, and you cannot remove the GUI the same way. The environment grouplist installed is "Server with GUI."
Thank you
Re: How do you remove GUI post install?
try a dnf remove gnome and before to accept, check which other components comes along. In doubt, don't accept.
Member of centos-FR forum
Re: How do you remove GUI post install?
BS"D
Although it would involve a reboot, why don't you use systemctl to boot into multi-user.target, which doesn't run x-windows
(if I understand what you want to do correctly). That way you don't have to remove anything.
Although it would involve a reboot, why don't you use systemctl to boot into multi-user.target, which doesn't run x-windows
(if I understand what you want to do correctly). That way you don't have to remove anything.
Re: How do you remove GUI post install?
remove gnome can drive you to a dep hell
better to boot multiuser: systemctl set-default multi-user.target
better to boot multiuser: systemctl set-default multi-user.target
Re: How do you remove GUI post install?
You could start by removing things that you know are GUI related and not needed for command line usage. Start with yum --assumeno remove \*gnome\* and then see what it offers to remove and check that list carefully to see if it's going to take out anything you might actually want! Repeat for packages containing xorg and wayland too. Offhand the only xorg package that you might want installed on a cli server is the one that provides xauth so you can do X forwarding over ssh.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 2
- Joined: 2019/11/06 20:00:13
Re: How do you remove GUI post install?
@hmg22 and @BShT Thank you, that worked!
Re: How do you remove GUI post install?
Yes you save cpu ressources but no room on your disk.
Member of centos-FR forum
Re: How do you remove GUI post install?
Also good security practices say you shouldn't have things installed that you don't require. Otherwise it's just another thing that could be used to exploit you...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke