1

I'm (kind of) new on ubuntu and I'm having a heck of a time figuring out how to download executables. For example, I tried to download Eclipse and a Java environment this morning. On my Windows XP PC, this would have worked fine, I would have double clicked on the download and the executable would have opened. However, on Ubuntu, when I do that I get a .tar folder and, even by extracting it, I don't see where it gets me.

Could anyone help ? Thanks a lot !

2 Answers2

2

I had the same confusion when moving from Windows. "Where's the installer executable to download and install?" I would ask.

In Ubuntu you've got a few other options, mainly the Software Centre (graphical) or a command-line installer like apt-get. I like apt-get. Once you get used to it (and trust it), it is so much easier.

On the command-line, try this:

sudo apt-get install eclipse

Enter password, confirm the download (because it's ~200Mb), and it will get and install the application for you.

If you don't have an executable in your system, typing the name in the command-line will often give you useful suggestions of what packages to download. So if you're looking for javac, say, entering it will give you a number of package target names that contain the javac program.

When you want specific versions of applications, things get a little more involved. If you can track down the .deb file you want, Ubuntu will recognise it as such and bring up the Software Centre installer screen if you double-click on it. If you have a tar file as you mentioned above, generally you extract it and then run an executable contained within it. But with tar files you may run into library compatibility issues.

Ash
  • 941
0
tar xvzf packagename.tar.gz 

./configure

make 

make install