How to tell ubuntu apt-get to install eclipse as opposed to the default version

eclipse is installed with apt-get in version 3.5:

sudo apt-get install eclipse-platform

however, I would like to install 3.6. how to indicate this?

+4
source share
3 answers

For this version of the distribution, Debian apt has only one version of any given software. This is because apt is trying to solve the dependency problem (just like maven in the java domain, if that tells you).

If you are "lying" about your version, apt will not complain, this is your own risk. As for eclipse, there is a small risk, because the eclipse depends only on the java versions (for this os / 32-64 / gui lib).

In 10.10, the standard version of eclipse is 3.5sr2

But in natty narwhal it is 3.6, so you can try using

An even safer solution is to add PPAs to your list of repositories (synaptic => settings => instance repository or update manager) there are other PPAs that helios offer

The best example:

Eclipse ppa , which has version 3.6 (follow the PPA setup instructions if you have not added ppa before.

This answers your question. Howwer I tend to discourage the use of apt for eclipse (see SO Answers here and here )

+5
source

This is not true. I typed this:

sudo add-apt-repository ppa:itachi-sama-amaterasu/redeclipse-client sudo apt-get update sudo apt-get install redeclipse 

This does not install the updated version, but helps a little ...

+3
source

If you know that version 3.6 is published as a package for 10.10, you should try

 sudo apt-get update 

And then try installing eclipse. If it is not published, you will have to wait or build it yourself.

0
source

Source: https://habr.com/ru/post/1340140/


All Articles