Results 1 to 9 of 9

Thread: How to remove the GUI?

  1. #1
    Join Date
    Feb 2011
    Beans
    8
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Question How to remove the GUI?

    Hi,

    I'm a new user of linux and a few weeks ago i installed Ubuntu Server 10.10. And after a few day's i installed the GUI with: apt-get install ubuntu-desktop. But now, a few weeks later i want to remove the GUI again. How can i do this and is this possible?

  2. #2
    Join Date
    Dec 2006
    Beans
    81
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to remove the GUI?

    Code:
    apt-get --purge remove ubuntu-desktop

  3. #3
    Join Date
    Feb 2011
    Beans
    8
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to remove the GUI?

    Alright, I used the command in the terminal, but it seems not working... After rebooting my system i still having the GUI.
    Whats the problem or i'm doing something wrong?

  4. #4
    Join Date
    Dec 2006
    Beans
    81
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to remove the GUI?

    what did it say when you ran the command ?

    edit:

    try:
    Code:
    sudo tasksel
    uncheck "Ubuntu Desktop"
    check "basic ubuntu-server"
    Last edited by vortmax; February 9th, 2011 at 02:54 PM.

  5. #5
    Join Date
    Feb 2011
    Beans
    8
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to remove the GUI?

    root@ubuntu:~# apt-get --purge remove ubuntu-desktop
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
    ubuntu-desktop*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    After this operation, 61.4kB disk space will be freed.
    Do you want to continue [Y/n]? Y
    (Reading database ... 222615 files and directories currently installed.)
    Removing ubuntu-desktop ...
    root@ubuntu:~#

    Edit:

    I just tried tasksel, Ubuntu desktop was already unchecked and Basic Ubuntu-Server wasn't in the list.
    Last edited by latestbeats; February 9th, 2011 at 03:03 PM.

  6. #6
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to remove the GUI?

    Yep, that's not gouin to remove anyhting else than the "ubuntu-desktop" metapackage itself.

    Try running "sudo apt-get autoremove" to get rid of the packages installed as dependencies for "ubuntu-desktop. Meaning all the actual packages.

    (you could also have ran "sudo apt-get --purge autoremove ubuntu-desktop" in the first place, but luckily autoremove should still do it's job just fine)

  7. #7
    Join Date
    Feb 2011
    Beans
    8
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to remove the GUI?

    root@ubuntu:~# sudo apt-get --purge autoremove ubuntu-desktop
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
    ubuntu-desktop*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    After this operation, 61.4kB disk space will be freed.
    Do you want to continue [Y/n]? Y
    (Reading database ... 222615 files and directories currently installed.)
    Removing ubuntu-desktop ...
    root@ubuntu:~#

    After rebooting i still have the gui.
    What's going wrong?

  8. #8
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,638
    Distro
    Ubuntu

    Re: How to remove the GUI?

    Have a look at this page

    Copy and paste the remove ubuntu bit, but make sure you delete the very end bit
    Code:
    && sudo apt-get install kubuntu-desktop
    or you will remove ubuntu but end up with kubuntu instead.

    http://www.psychocats.net/ubuntu/purekde

  9. #9
    Join Date
    Feb 2011
    Beans
    8
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to remove the GUI?

    Works great! I copied the code and pasted it in gedit, I deleted "&& sudo apt-get install kubuntu-desktop" and saved it as uninstal.sh. after that, i did "batch uninstal.sh" And it started to uninstall a lot of things. After rebooting i could login to the terminal.

    Thanks a lot for helping me!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •