To expand on @Claudiop's answer, edit the file /etc/apt/sources.list
. You should have something like:
deb http://ftp.br.debian.org/debian squeeze main
deb-src http://ftp.br.debian.org/debian squeeze main
deb http://ftp.br.debian.org/debian squeeze-updates main
deb-src http://ftp.br.debian.org/debian squeeze-updates main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
Debian has 4 main repositories (5 if you count lenny) stable (squeeze), testing (wheezy), unstable (sid) and experimental, each of which contains progressively newer software versions. So, to use, for example, the unstable repository, change you /etc/apt/sources.list
to:
deb http://ftp.br.debian.org/debian sid main
deb-src http://ftp.br.debian.org/debian sid main
deb http://ftp.br.debian.org/debian sid-updates main
deb-src http://ftp.br.debian.org/debian sid-updates main
deb http://security.debian.org/ sid/updates main
deb-src http://security.debian.org/ sid/updates main
The run sudo apt-get update
or refresh the sources through synaptic. You can now install a newer version of eclipse by running sudo apt-get install eclipse
.
For more information on debian releases, have a look at this page.
For the cutting edge, latest release you will, as
@Claudiop also said, have to download the release from the eclipse downloads page and follow their instructions to compile and install.
1Note that Eclipse itself is currently recommending to distros not to include Juno. Fedora is an exception, presumably because of its commitment to being bleeding edge. – Simon Hoare – 2012-09-15T09:01:04.803