Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a new machine with Ubuntu Server. On that server I would like to have Apache with some web services.

But how do I install Eclipse on Ubuntu Server? Right now I have no GUI, just command line.

share|improve this question
Install a GUI first, then? Why are you running desktop software on a server version of Ubuntu in the first place if you want to use it as a development environment? –  BoltClock Feb 14 '12 at 19:24
i wanted to try a 100% same environment. but i might rethink it. –  Gero Feb 14 '12 at 19:58

1 Answer 1

up vote 2 down vote accepted

First of all: If it's a production server. Don't do it. Installing a GUI will slow performance and may open more security holes. Also never develop directly on a production server.

Secondarily: If anyone sees this prior to installing Ubuntu Server, you should probably install the desktop version of Ubuntu instead and then install the server-services, since that's quite a lot more well documented and you're probably not going to run Eclipse on a dedicated (production-)server anyway.

And now the answer:

First install the ubuntu-desktop package with # apt-get install ubuntu-desktop (do this as root, or by prepending sudo to the command), then reboot your computer and install eclipse as you would on any other Ubuntu computer.

See section one on http://www.ubuntugeek.com/install-gui-in-ubuntu-server.html for more detailed instructions

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.