Results 1 to 6 of 6

Thread: Help with Package Removal for Ubuntu Desktop to Server

  1. #1
    Join Date
    Jun 2019
    Beans
    4

    Help with Package Removal for Ubuntu Desktop to Server

    Hi, so it looks as my machine only let's me install Ubuntu Desktop and not Ubuntu Server by default. I hear people saying they converted Ubuntu Desktop to Ubuntu Server by using a program called Tasksel. Once installing Ubuntu Server, can I wipe all default packages from Ubuntu Desktop so what's left is the shell for Ubuntu Server to start working on?

    Thanks

    Alissa

  2. #2
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Help with Package Removal for Ubuntu Desktop to Server

    Better and easier to do a fresh server iso installation

  3. #3
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Help with Package Removal for Ubuntu Desktop to Server

    Tasksel is just a metapackage installation program. Basically, it installs 5 services and configures them to work together. You can run it on desktops too.

    There is nothing special about "desktop" or "server" installs. Just the default programs included. If the programs you want aren't there, install them. Doesn't matter if they are server or desktop programs.

    I have never used Tasksel. If I want a group of programs installed, then I'll install those and configure them to work together the way I want.

    Removing Ubuntu-Desktop won't do much. It just removes the metapackage that says ubuntu-desktop programs were installed. If you want to remove all the programs included, that means removing the GUI and ... lots of other desktop-specific packages. https://packages.ubuntu.com/disco/ubuntu-desktop has a list.

  4. #4
    Join Date
    Jun 2019
    Beans
    4

    Re: Help with Package Removal for Ubuntu Desktop to Server

    Quote Originally Posted by TheFu View Post
    Tasksel is just a metapackage installation program. Basically, it installs 5 services and configures them to work together. You can run it on desktops too.

    There is nothing special about "desktop" or "server" installs. Just the default programs included. If the programs you want aren't there, install them. Doesn't matter if they are server or desktop programs.

    I have never used Tasksel. If I want a group of programs installed, then I'll install those and configure them to work together the way I want.

    Removing Ubuntu-Desktop won't do much. It just removes the metapackage that says ubuntu-desktop programs were installed. If you want to remove all the programs included, that means removing the GUI and ... lots of other desktop-specific packages. https://packages.ubuntu.com/disco/ubuntu-desktop has a list.
    So does this mean that if I remove the GUI, it removes the packages with Ubuntu Desktop if I check uninstall Ubuntu Desktop after installing server?

  5. #5
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Help with Package Removal for Ubuntu Desktop to Server

    No. It means "ubuntu-desktop" is a metapackage. If you remove 1 package included in that metapackage, then the "ubuntu-desktop" metapackages is removed, but not all the real packages included inside it.

    Fixating on important things is good.

    If you must have exactly "ubuntu server", then use virtualization like the entire world does.
    If you don't need exactly the server install, then just install the server packages you need, when you need them.

  6. #6
    Join Date
    Dec 2017
    Location
    RockyMts
    Beans
    1,167

    Re: Help with Package Removal for Ubuntu Desktop to Server

    I have not tried this, but seems others have.

    https://ubuntuforums.org/showthread....71#post9174671

    This may also work:
    Code:
    sudo tasksel remove ubuntu-desktop
    Tasksel also has a test mode the will go through the process without changing anything, using the "-t" switch.
    Code:
    sudo tasksel remove ubuntu-desktop -t
    It would be interesting to find out if this actually works.

    Edit
    Taskel can be very aggresive at package removal, taking too much at times. The link above removes the desktop and installs the basic server (console) at the same time. I think a better route to go.
    Last edited by cruzer001; June 22nd, 2019 at 06:02 PM.

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
  •