Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 18 down vote accepted

yes you can do that.

then How ?

Open your terminal and type as

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.

share|improve this answer
thank you, it's really helpful.... – A J Jul 16 '14 at 5:06
how do I enter into Ubuntu server – A J Jul 16 '14 at 5:33
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. – Raja Jul 16 '14 at 7:15
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
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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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