I am using Ubuntu 14.04 LTS desktop version, I would like to use Ubuntu 14.04 Server.

Is it possible to migrate (change) from Ubuntu desktop to Ubuntu server without losing data from my system?


Open your terminal and type:

sudo apt-get install tasksel

Then type sudo tasksel in terminal

enter image description here

It will open in terminal with options & there you can choose Ubuntu Server with space-bar and then continue. It will download and install Ubuntu Server tools.

Hope that helps.

  • how do I enter into Ubuntu server – A J Jul 16 '14 at 5:33
  • 2
    This installs the packages for Ubuntu server but does not remove the packages for a desktop installation. That may or may not be what is needed. – Eliah Kagan Jul 16 '14 at 6:18
  • @AJ Your current Ubuntu already having server tools. right now your Ubuntu is like Ubuntu Server + Ubuntu Desktop. Eliah Thank you. – rɑːdʒɑ Jul 16 '14 at 7:15
  • 8
    One word of caution: **never ** use tasksel to remove something, it will remove all packages needed for that task, even if you installed them manually. – guntbert Jul 19 '14 at 21:29
  • @guntbert nice point. – rɑːdʒɑ Jul 23 '14 at 5:58
sudo apt-get install tasksel
sudo tasksel remove ubuntu-desktop
sudo tasksel install server
sudo apt-get update
sudo apt-get install linux-server linux-image-server
sudo apt-get purge lightdm

These commands can help you to competly convert an Ubuntu Desktop to Ubuntu Server. It work on Ubuntu 14.04 ;D

  • 2
    When sudo apt-get install linux-server linux-image-server it says not found. When rebooting, it says image is corrupted. You'll get a brick at the end. – Dmytro Bogatov Oct 8 '17 at 21:31

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.