How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
Hi All, I am a newbie in Debian and have just installed Debian 5 (lenny) stable release. I have used "apt-get install eclipse" to install a version of eclipse into my system and that version runs well. However, later I find that the installed version of eclipse is 3.2 and I would like to install the current eclipse release 3.5 as an alternative of eclipse 3.2. I find that eclipse 3.5 Linux version (eclipse-jee-galileo-SR1-linux-gtk.tar.gz) could be downloaded from the eclipse site but I do not know how to install it into Debian to make it co-exist with the older eclipse 3.2. Any suggestion ? Regards Lawrence
Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
On Sun, 10 Jan 2010, Tsang Kim Wai wrote: Hi All, I am a newbie in Debian and have just installed Debian 5 (lenny) stable release. I have used "apt-get install eclipse" to install a version of eclipse into my system and that version runs well. However, later I find that the installed version of eclipse is 3.2 and I would like to install the current eclipse release 3.5 as an alternative of eclipse 3.2. I find that eclipse 3.5 Linux version (eclipse-jee-galileo-SR1-linux-gtk.tar.gz) could be downloaded from the eclipse site but I do not know how to install it into Debian to make it co-exist with the older eclipse 3.2. I see that version 3.4.11 is in sid/unstable: http://packages.debian.org/sid/eclipse I guess that could be installed, without too much effort, it has a few dependencies though. I was hoping to find 3.5 in experimental, but no such luck. A tar.gz archive like the one you mention above is not that hard to install either, it's not not as easy as just using apt-get or dpkg. I guess you could unpack it (tar -zxcf) in /usr/local somewhere and try. That can't damaged anything. :) Mat
Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
Hi Mat, Thanks for your suggestion. I have downloaded the "eclipse_3.4.1-1_i386.deb" file from the link you provided. I am now finding information on installing this eclipse 3.4 using "dpkg". However, one point I want to be clear in advance is that would the eclipse 3.4 installation using "dpkg" replaces / corrupts my old eclipse 3.2 installation. Moreover, the eclipse 3.4 ".deb" file has just 120KB size. Is that reasonable with such a big application ? Thanks for any suggestion. Regards Lawrence On Sun, Jan 10, 2010 at 12:59 PM, Mathias wrote: > On Sun, 10 Jan 2010, Tsang Kim Wai wrote: > >> >> Hi All, >> >> I am a newbie in Debian and have just installed Debian 5 (lenny) >> stable >> release. I have used "apt-get install eclipse" to install a version of >> eclipse into my system and that version runs well. >> >> However, later I find that the installed version of eclipse is 3.2 >> and >> I would like to install the current eclipse release 3.5 as an alternative >> of >> eclipse 3.2. >> >> I find that eclipse 3.5 Linux version >> (eclipse-jee-galileo-SR1-linux-gtk.tar.gz) could be downloaded from the >> eclipse site but I do not know how to install it into Debian to make it >> co-exist with the older eclipse 3.2. >> >> I see that version 3.4.11 is in sid/unstable: > http://packages.debian.org/sid/eclipse > > I guess that could be installed, without too much effort, it has a few > dependencies though. I was hoping to find 3.5 in experimental, but no such > luck. A tar.gz archive like the one you mention above is not that hard to > install either, it's not not as easy as just using apt-get or dpkg. I guess > you could unpack it (tar -zxcf) in /usr/local somewhere and try. That can't > damaged anything. :) > > Mat
Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10-1-2010 5:25, Tsang Kim Wai wrote: > Hi All, > > I am a newbie in Debian and have just installed Debian 5 (lenny) > stable release. I have used "apt-get install eclipse" to install a > version of eclipse into my system and that version runs well. > > However, later I find that the installed version of eclipse is 3.2 > and I would like to install the current eclipse release 3.5 as an > alternative of eclipse 3.2. > > I find that eclipse 3.5 Linux version > (eclipse-jee-galileo-SR1-linux-gtk.tar.gz) could be downloaded from the > eclipse site but I do not know how to install it into Debian to make it > co-exist with the older eclipse 3.2. > > Any suggestion ? > > Regards > Lawrence > Seeing as you can already start and use Eclipse 3.2, upgrading to the new 3.5 version would be as simple as downloading the archive from the website (which you already did), and then extract it to a location of your choice. You can then run ./eclipse from the extracted location. To make this easier, you could symlink the executable to /usr/bin. AFAIK the eclipse installation are self-contained, and don't bite the already installed Eclipse 3.2 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktJpbgACgkQkPq5zKsAFiiDgwCfZnfPcwtEu+JmSY7EN/l3QOuh 3H0An1f+IunxHgcp/Ulqr1L3Z2Lyn6H2 =arex -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
On 2010-01-10, Tsang Kim Wai wrote: > --001636e0b6ed2ae890047cc97805 > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Mat, > > Thanks for your suggestion. > > I have downloaded the "eclipse_3.4.1-1_i386.deb" file from the link you > provided. I am now finding information on installing this eclipse 3.4 using > "dpkg". > > However, one point I want to be clear in advance is that would the > eclipse 3.4 installation using "dpkg" replaces / corrupts my old eclipse 3.2 > installation. Moreover, the eclipse 3.4 ".deb" file has just 120KB size. Is > that reasonable with such a big application ? Installing the downloaded .deb file would upgrade your existing installation. The file is small because its dependencies (eclipse-jdt, etc.) contain most of the binaries. You would have to download and install those as well. I think it would be easier to unpack the .tar.gz file. as others have suggested. -- Liam O'Toole Birmingham, United Kingdom -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
Hi Nick Douma, Liam O'Toole and Mathias, It works by simply extracting the downloaded Eclipse 3.5 binary file into /usr/local/eclipse-3.5/ directory and then run the eclipse script under that directory. But I think, the eclipse 3.5 simple installation may depend on some configurations of my old eclipse 3.2 installation. That is, I may not un-install eclipse 3.2 while expecting eclipse 3.5 would work properly. Is that the case ? Anyway, thank you for all your suggestions. Regards Lawrence On Sun, Jan 10, 2010 at 6:02 PM, Nick Douma wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 10-1-2010 5:25, Tsang Kim Wai wrote: > > Hi All, > > > > I am a newbie in Debian and have just installed Debian 5 (lenny) > > stable release. I have used "apt-get install eclipse" to install a > > version of eclipse into my system and that version runs well. > > > > However, later I find that the installed version of eclipse is 3.2 > > and I would like to install the current eclipse release 3.5 as an > > alternative of eclipse 3.2. > > > > I find that eclipse 3.5 Linux version > > (eclipse-jee-galileo-SR1-linux-gtk.tar.gz) could be downloaded from the > > eclipse site but I do not know how to install it into Debian to make it > > co-exist with the older eclipse 3.2. > > > > Any suggestion ? > > > > Regards > > Lawrence > > > > Seeing as you can already start and use Eclipse 3.2, upgrading to the > new 3.5 version would be as simple as downloading the archive from the > website (which you already did), and then extract it to a location of > your choice. You can then run ./eclipse from the extracted location. To > make this easier, you could symlink the executable to /usr/bin. AFAIK > the eclipse installation are self-contained, and don't bite the already > installed Eclipse 3.2 > -BEGIN PGP SIGNATURE- > Version: GnuPG v2.0.12 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAktJpbgACgkQkPq5zKsAFiiDgwCfZnfPcwtEu+JmSY7EN/l3QOuh > 3H0An1f+IunxHgcp/Ulqr1L3Z2Lyn6H2 > =arex > -END PGP SIGNATURE- > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > >
Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10-1-2010 15:17, Tsang Kim Wai wrote: > Hi Nick Douma, Liam O'Toole and Mathias, > > It works by simply extracting the downloaded Eclipse 3.5 binary > file into /usr/local/eclipse-3.5/ directory and then run the eclipse > script under that directory. But I think, the eclipse 3.5 simple > installation may depend on some configurations of my old eclipse 3.2 > installation. That is, I may not un-install eclipse 3.2 while expecting > eclipse 3.5 would work properly. Is that the case ? > > Anyway, thank you for all your suggestions. > > Regards > Lawrence That is not the case. You can uninstall Eclipse 3.2, the new installation should be self contained. Apart from that, if you uninstall using apt-get, the configuration files remain, so even if there was a dependency on that, it would not be a problem. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktJ6pMACgkQkPq5zKsAFihybACeNwTzhMuZCGhX/V3rM1QQfbIf QJwAnjEfyzSTf757wDWel3Ze2TQ+J4eY =K2Dh -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
On Sun, 10 Jan 2010, Tsang Kim Wai wrote: Hi Nick Douma, Liam O'Toole and Mathias, It works by simply extracting the downloaded Eclipse 3.5 binary file into /usr/local/eclipse-3.5/ directory and then run the eclipse script under that directory. But I think, the eclipse 3.5 simple installation may depend on some configurations of my old eclipse 3.2 installation. That is, I may not un-install eclipse 3.2 while expecting eclipse 3.5 would work properly. Is that the case ? Anyway, thank you for all your suggestions. Yeah, seeing how the apt system on debian mostly works to maintain and upgrade the packages to newer version, the 3.4 that is in unstable would replace the 3.2 one, unless some changes were made to the newer package. As mentioned earlier, creating a symlink in /usr/bin seems like a good idea too. Mat
Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
Hi All, Thanks for all your information. The eclipse 3.5 works OK. But if I want to try one of Mathias suggestion to upgrade my old eclipse 3.2 to eclipse 3.4 in the unstable release, then, in my understanding, I would need to edit the "/etc/apt/sources.list" file to change any "lenny" keywork to "sid". My sources.list file contains the following lines : deb http://ftp.hk.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.hk.debian.org/debian/ lenny main contrib non-free deb http://security.debian.org/ lenny/updates main contrib non-free deb-src http://security.debian.org/ lenny/updates main contrib non-free deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free Then I think replacing all "lenny" to "sid" should change my Debian system from stable to un-stable release so that I could upgrade eclipse 3.2 to eclipse 3.4 by running just "apt-get install eclipse". Is that the case ? Alternatively, if I don't change my Debian system to un-stable release through editing "sources.list", could I still upgrade my old eclipse 3.2 to eclipse 3.4 in other way ? Any comment / suggestion. Regards Lawrence On Mon, Jan 11, 2010 at 1:54 AM, Mathias wrote: > On Sun, 10 Jan 2010, Tsang Kim Wai wrote: > > Hi Nick Douma, Liam O'Toole and Mathias, >> >> It works by simply extracting the downloaded Eclipse 3.5 binary file >> into /usr/local/eclipse-3.5/ directory and then run the eclipse script >> under >> that directory. But I think, the eclipse 3.5 simple installation may >> depend >> on some configurations of my old eclipse 3.2 installation. That is, I may >> not un-install eclipse 3.2 while expecting eclipse 3.5 would work >> properly. >> Is that the case ? >> >> Anyway, thank you for all your suggestions. >> >> Yeah, seeing how the apt system on debian mostly works to maintain and > upgrade the packages to newer version, the 3.4 that is in unstable would > replace the 3.2 one, unless some changes were made to the newer package. > > As mentioned earlier, creating a symlink in /usr/bin seems like a good idea > too. > > Mat
Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
Hey there, Yes, as far as I know that would work, but if you are not careful you will end up upgrading you'er whole system to sid (as someone who added unstable sources to his Lenny install once by accident and ended up in dependency hell with half the system upgraded and half not). Also sid is not recommended unless you are experienced with debian and willing to fix it if everything breaks ;) So, I would recommended not changing your sources.list like that myself. Regards, Angus. On Sun, Jan 10, 2010 at 11:03 PM, Tsang Kim Wai wrote: > Hi All, > > Thanks for all your information. The eclipse 3.5 works OK. > > But if I want to try one of Mathias suggestion to upgrade my old > eclipse 3.2 to eclipse 3.4 in the unstable release, then, in my > understanding, I would need to edit the "/etc/apt/sources.list" file to > change any "lenny" keywork to "sid". > > My sources.list file contains the following lines : > > deb http://ftp.hk.debian.org/debian/ lenny main contrib non-free > deb-src http://ftp.hk.debian.org/debian/ lenny main contrib non-free > > deb http://security.debian.org/ lenny/updates main contrib non-free > deb-src http://security.debian.org/ lenny/updates main contrib non-free > > deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib > non-free > deb-src http://volatile.debian.org/debian-volatile lenny/volatile main > contrib non-free > > Then I think replacing all "lenny" to "sid" should change my Debian > system from stable to un-stable release so that I could upgrade eclipse 3.2 > to eclipse 3.4 by running just "apt-get install eclipse". Is that the case ? > > > Alternatively, if I don't change my Debian system to un-stable release > through editing "sources.list", could I still upgrade my old eclipse 3.2 to > eclipse 3.4 in other way ? > > Any comment / suggestion. > > Regards > Lawrence > > > > On Mon, Jan 11, 2010 at 1:54 AM, Mathias wrote: > >> On Sun, 10 Jan 2010, Tsang Kim Wai wrote: >> >> Hi Nick Douma, Liam O'Toole and Mathias, >>> >>> It works by simply extracting the downloaded Eclipse 3.5 binary file >>> into /usr/local/eclipse-3.5/ directory and then run the eclipse script >>> under >>> that directory. But I think, the eclipse 3.5 simple installation may >>> depend >>> on some configurations of my old eclipse 3.2 installation. That is, I may >>> not un-install eclipse 3.2 while expecting eclipse 3.5 would work >>> properly. >>> Is that the case ? >>> >>> Anyway, thank you for all your suggestions. >>> >>> Yeah, seeing how the apt system on debian mostly works to maintain and >> upgrade the packages to newer version, the 3.4 that is in unstable would >> replace the 3.2 one, unless some changes were made to the newer package. >> >> As mentioned earlier, creating a symlink in /usr/bin seems like a good >> idea too. >> >> Mat > > >
Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
On Mon, Jan 11, 2010 at 9:06 AM, Angus Hedger wrote: > Hey there, > > Yes, as far as I know that would work, but if you are not careful you will > end up upgrading you'er whole system to sid (as someone who added unstable > sources to his Lenny install once by accident and ended up > in dependency hell with half the system upgraded and half not). > > Also sid is not recommended unless you are experienced with debian and > willing to fix it if everything breaks ;) > > So, I would recommended not changing your sources.list like that myself. > > Regards, > > Angus. > > On Sun, Jan 10, 2010 at 11:03 PM, Tsang Kim Wai wrote: > >> Hi All, >> >> Thanks for all your information. The eclipse 3.5 works OK. >> >> But if I want to try one of Mathias suggestion to upgrade my old >> eclipse 3.2 to eclipse 3.4 in the unstable release, then, in my >> understanding, I would need to edit the "/etc/apt/sources.list" file to >> change any "lenny" keywork to "sid". >> >> My sources.list file contains the following lines : >> >> deb http://ftp.hk.debian.org/debian/ lenny main contrib non-free >> deb-src http://ftp.hk.debian.org/debian/ lenny main contrib non-free >> >> deb http://security.debian.org/ lenny/updates main contrib non-free >> deb-src http://security.debian.org/ lenny/updates main contrib non-free >> >> deb http://volatile.debian.org/debian-volatile lenny/volatile main >> contrib non-free >> deb-src http://volatile.debian.org/debian-volatile lenny/volatile main >> contrib non-free >> >> Then I think replacing all "lenny" to "sid" should change my Debian >> system from stable to un-stable release so that I could upgrade eclipse 3.2 >> to eclipse 3.4 by running just "apt-get install eclipse". Is that the case ? >> >> >> Alternatively, if I don't change my Debian system to un-stable >> release through editing "sources.list", could I still upgrade my old eclipse >> 3.2 to eclipse 3.4 in other way ? >> >> Any comment / suggestion. >> >> Regards >> Lawrence >> >> >> >> On Mon, Jan 11, 2010 at 1:54 AM, Mathias wrote: >> >>> On Sun, 10 Jan 2010, Tsang Kim Wai wrote: >>> >>> Hi Nick Douma, Liam O'Toole and Mathias, It works by simply extracting the downloaded Eclipse 3.5 binary file into /usr/local/eclipse-3.5/ directory and then run the eclipse script under that directory. But I think, the eclipse 3.5 simple installation may depend on some configurations of my old eclipse 3.2 installation. That is, I may not un-install eclipse 3.2 while expecting eclipse 3.5 would work properly. Is that the case ? Anyway, thank you for all your suggestions. Yeah, seeing how the apt system on debian mostly works to maintain and >>> upgrade the packages to newer version, the 3.4 that is in unstable would >>> replace the 3.2 one, unless some changes were made to the newer package. >>> >>> As mentioned earlier, creating a symlink in /usr/bin seems like a good >>> idea too. >>> >>> Mat >> >> >> > Hi there, yes, change your source list to Sid/unstable will help you to install 3.4 in Debian way. A few suggestions though: 1: backup you current source list; 2: comment out security and volatile lines for Sid; 3: just upgrade eclipse and switch back to Lenny if you prefer staying in the stable/boring land and do a source list update immediately. -- Thanks and regards, Zhan
Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?
Hi Angus Hedger, Zhan and All, Thanks for all the suggestions. As upgrading to "un-stable" may not be reversible, I think I would be happy to stay in the "stable" release with eclipse 3.2 and eclipse 3.5 installed. That's enough. Regards Lawrence On Mon, Jan 11, 2010 at 3:25 PM, Zhan wrote: > > > On Mon, Jan 11, 2010 at 9:06 AM, Angus Hedger wrote: > >> Hey there, >> >> Yes, as far as I know that would work, but if you are not careful you will >> end up upgrading you'er whole system to sid (as someone who added unstable >> sources to his Lenny install once by accident and ended up >> in dependency hell with half the system upgraded and half not). >> >> Also sid is not recommended unless you are experienced with debian and >> willing to fix it if everything breaks ;) >> >> So, I would recommended not changing your sources.list like that myself. >> >> Regards, >> >> Angus. >> >> On Sun, Jan 10, 2010 at 11:03 PM, Tsang Kim Wai wrote: >> >>> Hi All, >>> >>> Thanks for all your information. The eclipse 3.5 works OK. >>> >>> But if I want to try one of Mathias suggestion to upgrade my old >>> eclipse 3.2 to eclipse 3.4 in the unstable release, then, in my >>> understanding, I would need to edit the "/etc/apt/sources.list" file to >>> change any "lenny" keywork to "sid". >>> >>> My sources.list file contains the following lines : >>> >>> deb http://ftp.hk.debian.org/debian/ lenny main contrib non-free >>> deb-src http://ftp.hk.debian.org/debian/ lenny main contrib non-free >>> >>> deb http://security.debian.org/ lenny/updates main contrib non-free >>> deb-src http://security.debian.org/ lenny/updates main contrib non-free >>> >>> deb http://volatile.debian.org/debian-volatile lenny/volatile main >>> contrib non-free >>> deb-src http://volatile.debian.org/debian-volatile lenny/volatile main >>> contrib non-free >>> >>> Then I think replacing all "lenny" to "sid" should change my Debian >>> system from stable to un-stable release so that I could upgrade eclipse 3.2 >>> to eclipse 3.4 by running just "apt-get install eclipse". Is that the case ? >>> >>> >>> Alternatively, if I don't change my Debian system to un-stable >>> release through editing "sources.list", could I still upgrade my old eclipse >>> 3.2 to eclipse 3.4 in other way ? >>> >>> Any comment / suggestion. >>> >>> Regards >>> Lawrence >>> >>> >>> >>> On Mon, Jan 11, 2010 at 1:54 AM, Mathias wrote: >>> On Sun, 10 Jan 2010, Tsang Kim Wai wrote: Hi Nick Douma, Liam O'Toole and Mathias, > > It works by simply extracting the downloaded Eclipse 3.5 binary > file > into /usr/local/eclipse-3.5/ directory and then run the eclipse script > under > that directory. But I think, the eclipse 3.5 simple installation may > depend > on some configurations of my old eclipse 3.2 installation. That is, I > may > not un-install eclipse 3.2 while expecting eclipse 3.5 would work > properly. > Is that the case ? > > Anyway, thank you for all your suggestions. > > Yeah, seeing how the apt system on debian mostly works to maintain and upgrade the packages to newer version, the 3.4 that is in unstable would replace the 3.2 one, unless some changes were made to the newer package. As mentioned earlier, creating a symlink in /usr/bin seems like a good idea too. Mat >>> >>> >>> >> > Hi there, > > yes, change your source list to Sid/unstable will help you to install 3.4 > in Debian way. > > A few suggestions though: > 1: backup you current source list; > 2: comment out security and volatile lines for Sid; > 3: just upgrade eclipse and switch back to Lenny if you prefer staying in > the stable/boring land and do a source list update immediately. > > -- > Thanks and regards, > > Zhan >