Debian 8. Удаление графического интерфейса
«По наследству» досталась виртуальная машина с установленным на ней Debian 8. И все бы хорошо, только вот не нужен мне графический интерфейс. С linux дела мало имел. Подскажите пожалуйста каким образом можно его удалить или отключить?
удаление начать можно с деинсталляции пакета xserver-xorg-core :
а вот для отключения необходимо знать, кто запускает xserver . скорее всего, это делает desktop manager. эту функцию может выполнять много пакетов. найти тот, что установлен в системе можно, например, такой командой:
вот его и надо отключить, чтоб не запускался при старте системы:
Дизайн сайта / логотип © 2023 Stack Exchange Inc; пользовательские материалы лицензированы в соответствии с CC BY-SA . rev 2023.3.11.43304
Нажимая «Принять все файлы cookie» вы соглашаетесь, что Stack Exchange может хранить файлы cookie на вашем устройстве и раскрывать информацию в соответствии с нашей Политикой в отношении файлов cookie.
Can I Remove GUI From Debian?
I just did my first install of any Linux OS, and I accidentally selected «Desktop GUI» in the install, but I want to build everything myself. Is there any way by which I can remove the GUI environment without re-installing OS?
3 Answers 3
Debian uses tasksel for installing software for a specific system. The command gives you some information:
The command above lists all tasks known to tasksel . The line desktop should print an i in front. If that is the case you can have a look at all packages which this task usually installs:
On my system the command outputs 36 packages. You can uninstall them with the following command:
This takes the list of packages (output of tasksel ) and feeds it into the purge command of apt-get . Now apt-get tells you what it wants to uninstall from the system. If you confirm it everything will be purged from your system.
Удаление рабочего стола в debian 9
Как удалять лишние окружения рабочего стола в debian 9?


Надо думать удалив основные пакеты, которые ставят эти DE, core или base или standard или что там у тебя, потом apt-get autoremove —purge, подробнее, вот здесь, например почитай: https://www.sanglyb.ru/article/kak-polnostyu-udalit-paket-s-zavisimostyami-v-.
Суть в том, чтобы выпилить все зависимости и настройки от DE, как я понял, а вообще для экспериментов из живой системы лучше не устраивать помойку!

Если были установлены, например, GNOME и KDE, то только вручную выбрав все ненужные пакеты. Можно удалить только task-
Linux: How to Remove GNOME from a Debian Install
This article describes how to remove the Gnome desktop environment from a Debian install.
Sometimes, unless you run the gauntlet of Expert Install (which is unnecessary if all you want is a general purpose, vanilla machine) then the Gnome desktop will be automatically installed from the installation DVD.
The following commands will remove it (and free up about 1GB disk space!):
# sudo apt-get autoremove gdm3
# sudo apt-get autoremove —purge gnome*
Share this:
- ← Linux: Hot Clone a Live *nix Machine
- Checkpoint: Recover Your Product Key for an Edge or Sofaware Safe@ →
2 thoughts on “ Linux: How to Remove GNOME from a Debian Install ”
Thanks! Are there any other unnecessary libraries besides gdm3 that come with gnome, that I could also remove without breaking anything?