Thursday, October 29, 2009

Eclipse plugin PPA for Ubuntu

Since Ubuntu 9.10 "Karmic Koala" the universe repository _finally_ contains proper packages for Eclipse 3.5! However, it misses packages for many plugins, so I packaged some popular plugins and uploaded them to my Eclipse PPA.

You can add my repository by entering this on the terminal:
sudo add-apt-repository ppa:yogarine/eclipse && sudo apt-get update

Now you can install the Eclipse plugins like you would any other application in Ubuntu, e.g.:
sudo apt-get install eclipse-pdt

The following packages are available (among others):

  • eclipse-pdt (PHP Development Tools)
  • eclipse-cdt (C/C++ Development Tools)
  • eclipse-adt (Android Development Tools)
  • eclipse-wtp (Web Tools Platform)
  • eclipse-dtp (Data Tools Platform)
  • eclipse-bzr (Bazaar)
  • eclispe-subclipse (Subclipse)
  • eclipse-epic (Perl Editor and IDE)

For a full list of available packages, and more info about this PPA, check http://bit.ly/eclipse-ppa

Enjoy!

55 comments:

Sytchi said...

Thanks yogarine, it was exactly what i needed :)
danke wel
I love holland, especially haarlem :)

Yogarine said...

Alsjeblieft! <;o)

Unknown said...

Awesome, thanks!

I also installed eclipse-subclipse and I needed to change the SVN connector to check out new projects.

Window/Preferences/Team/SVN/Svn Interface/SVNKit (Pure Java).

Unknown said...

thanks a lot Alwin, all i needed to PHP developement, now i want ne of these fo C :-P

Àlex said...

Thank you very much! The first install for the PDT that works :)

Unknown said...

thanks a lot, I've been battling with pdt since dapper. Manual installation worked but was not optimal, this version is by far the most stable i've used.

Anonymous said...

Have you ever gotten the Help -> Software Updates -> Find and Install to actually connect to anything? It always dies for me, even after applying all of your stuff.

Network connection problems encountered during search.
Unable to access "http://download.eclipse.org/releases/galileo".
Error accessing site stream. [Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd]
Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
Error accessing site stream. [Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd]
Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
Unable to access "http://download.eclipse.org/eclipse/updates/3.5".
Unable to access site: "http://download.eclipse.org/eclipse/updates/3.5" [Server returned HTTP response code: "403 Forbidden" for URL: http://download.eclipse.org/eclipse/updates/3.5.]
Server returned HTTP response code: "403 Forbidden" for URL: http://download.eclipse.org/eclipse/updates/3.5.
Unable to access site: "http://download.eclipse.org/eclipse/updates/3.5" [Server returned HTTP response code: "403 Forbidden" for URL: http://download.eclipse.org/eclipse/updates/3.5.]
Server returned HTTP response code: "403 Forbidden" for URL: http://download.eclipse.org/eclipse/updates/3.5.

Anonymous said...

thanks!

Anonymous said...

I did a fresh re-install of karmic, applied all updates, went to this page and tried the instructions again. this happened:

roland@logikaldesktop1:~$ sudo add-apt-repository ppa:yogarine/eclipse/ubuntu
[sudo] password for roland:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv B5DA2A20128AE102861D82764DD0086A676DBA91
gpg: requesting key 676DBA91 from hkp server keyserver.ubuntu.com
gpg: key 676DBA91: "Launchpad PPA for Alwin Garside" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
roland@logikaldesktop1:~$ sudo apt-get install eclipse-pdt
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package eclipse-pdt
roland@logikaldesktop1:~$

Is this a temporary situation with your PPA, a problem because there are multiple eclipse-pdt uploads, user error, ?

Yogarine said...

I forgot you have to do a 'sudo apt-get update' after adding the repository. I've updated the command to do this as well.

Just do that and try installing eclipse-pdt again.

Steffen Müller said...

What java package do you recommend to use with your eclipse-pdt package?

Dimas Munhoz Gomez said...

Thank you very much!
Like a charm.
You made my dream come true. Working Eclipse PDT on my Ubuntu!

Anonymous said...

I arrived here via google, and i wanted to say you just thx. So... thx dude.

Timo Kluck said...

Werkt geweldig, dankjewel! Timo

Anonymous said...

$ sudo apt-get install eclipse-pdt
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
eclipse-dltk eclipse-dtp eclipse-emf eclipse-gef eclipse-wtp
Suggested packages:
eclipse-rse eclipse-emf-doc eclipse-gef-doc eclipse-emf-sdk
The following NEW packages will be installed:
eclipse-dltk eclipse-dtp eclipse-emf eclipse-gef eclipse-pdt eclipse-wtp
0 upgraded, 6 newly installed, 0 to remove and 13 not upgraded.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the download directory

i got this error so what is the problem now?this is my first time running and installing eclipse with ubuntu. i need a hand here...

Unknown said...

Thanks man.

Jesus De La Cruz said...

gracia panita

Unknown said...

Thank you sooo much for this! I am buildingmy wife a website and eclipse is EXACTLY what I needed. Now I only have one question. . . . . How do I get the debuggers working???

Unknown said...

Brilliant man, but when i want to install eclipse-rse I get
"E: Package eclipse-rse has no installation candidate"

Except for that, super.

Dankjewel!

Anonymous said...

Hi,

my problem is, eclipse does not start up, and i do not know why :( all i can see the picture: eclipse galileo. I tried your codes but it seems , it does not work.

can someone help, please?

Unknown said...

try starting it via commandline:
$ eclipse
and check what errors might occur

Anonymous said...

:( I tried many times ur suggestion, but the problem is : terminal does not give any error, also does not start it. I have been googling the problem I encounter, but so far I did not find anything..:(:(:(:(:(

Anonymous said...

:D:D:D:D hahahaha, thanks!!!! I fixed the problem!

Unknown said...

Could not get the Android SDK to work under Eclipse without your help. Many Thanks

mdvm73 said...

will this help to get the flex builder plugin to werk for me?

Unknown said...

Thank you very much for posting this! It saved me a lot of time.

kahwin said...

BRAVO !!!

Anonymous said...

Ontzettend bedankt, dit werkt een stuk beter dan handmatig dat ding installeren :)

Anonymous said...

Thank you very much! This is great :)

For next release of Ubuntu, it might be cool if you could add Subclipse and Visual Editor Project... Just a suggestion :)

EA Music said...

Muchas Gracias!!! por fin lo encontré

Un saludo desde Colombia.

Thank you very much!!! at last !!!

Greetings from Colombia (South America)

Anonymous said...

Thank you so much, you have saved my times.....

Anonymous said...

Thanks for this package! Saved a lot of time.

Unknown said...

installing PDT did NOT work for me in Lucid 10.04. It installed fine but no PHP view appeared in Eclipse, and no php projects showed up, either. I am using Eclipse 3.5 on 32bit with Flex Builder installed.

Yogarine said...

@lionstone Sorry, I haven't tested my packages on 32-bit yet, but will do so tonight.

However, you could also be suffering from bug #438414 (https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/438414) Are all your packages up to date?

Anonymous said...

Hi there, I would just like to say thank you for packaging these! They're really useful!

tkoopa said...

The ppa for 64bit 10.04 doesn't seem to work ( W: Failed to fetch http://ppa.launchpad.net/yogarine/ppa/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found
)

tkoopa said...

must be a problem on my side, it's all working again

Anonymous said...

Has anyone succeeded in installing PDT in Lucid 10.04?
It did not work for me. Eclipse installs fine and dpkg -l elcipse-pdt shows me that the pdt plugin is installed. But when i start eclipse all I get is Java-eclipse, no PHP view or sign of PDT plugin. Do i have to configure something else or anyone knows why it doesn't work? thanks

installing PDT did NOT work for me in Lucid 10.04. It installed fine but no PHP view appeared in Eclipse, and no php projects showed up, either. I am using Eclipse 3.5 on 32bit with Flex Builder installed.

Yogarine said...

Did you install Flex Builder on top of Ubuntu's Eclipse installation or a different installation? If you run Flex Builder on a different installation, make sure you start the Eclipse from the Applications menu. Otherwise, it could be that Flex Builder is messing things up.

Also, to open the PHP perspective you have to go to [Window]->[Open Perspective]->[Other...]

I myself am using Eclipse PDT daily on 3 different Ubuntu 10.04 setups, one of which is 32-bit. In fact, you're the first one to report issues running PDT on Lucid, so it's probably something with your setup.

Anonymous said...

Thanks alot Yogarine. The problem was knowing where to change the perspective. Sorry about the silly mistake, using eclipse for the first time. Thanks once more...

PS -> a side question...i have the lamp server installed and running. Is there a way to use this together with eclipse. Will appreciate a link which shows how to configure this. Thanks once more

Yogarine said...

Try these:
http://techmania.wordpress.com/2008/07/02/debugging-php-in-eclipse-using-xdebug/
http://ubuntuforums.org/showthread.php?t=457854

Anonymous said...

thanks alot

Anonymous said...

Hello Yogarine, hello everyone,

does anyone know how to create an eclipse executable that i can place on the desktop much like in wndows?. I have installed my PDT environment as described by Yogarine...Dankjewell Yogarine

Yogarine said...

Sure, that's easy.

Just right-click the Eclipse menu item in the Applications menu, and choose "Add to desktop".

Anonymous said...

Thank you very much. This has saved me hours... I've always tried to install PDT and others several ways and it's always been a pain. This is fantastic.

Anonymous said...

For people that are wary of clicking on shortened URLs, the PPA is here:

https://edge.launchpad.net/~yogarine/+archive/eclipse

M. Faraz said...

Thanx a million!
This helped me and my dev team to do a seamless install of eclipse with pdt, wtp and subclipse in a way that all of us are using EXACTLY the same version.

Again, Thanx a million!

Unknown said...

Hello.

I wanted to thank you for the support you have offered to us and I want you to ask if you could add pydev to your repo, it would complete all tools we need.

Unknown said...

Hey Yogarine,

Where does java_home end up. If doing a repo install it is in /etc/eclipse/java_home but it's not there now. I need to change it since I have installed sun-java6-jdk

tkoopa said...

Are you planning on a Natty version ?

Anonymous said...

Alwin,
i'd really like to continue using your repos.
On the ohter hand, using old versions is no good at all.
It sounds stupid that eclipse project is not maintaining their own ones.
The sticky in the forum says:
"
Also note that some Linux distrobutions include a version of Eclipse, or make one available from their own package installation tools. It is strongly recommended to NOT use such packages and to instead download Eclipse directly from http://www.eclipse.org/downloads
"
Do you know why they hate launchpad repos so much and - if not - can you please sacrifice another day maintaining yours?

Unknown said...

I've used your ppa back on ubuntu 9.10 and 10.04 and I think I'll try to learn how to make another one for current eclipse releases. I'm interested for PDT and ADT.

bamgosoo said...

I really enjoy simply reading most of your weblogs.
Simply wanted to inform you that you've people like me who appreciate your work.
Definitely a fantastic publish. The information you have provided is actually very worthwhile
Thank you for very usefull information

Here's my website : -- 부산달리기
(jk)

oworldsme69 said...

Greetings! I know this is kind of off topic but I was wondering if you knew where I could get a captcha plugin for
my comment form? I’m using the same blog platform as yours and I’m having trouble finding one?
Thanks a lot!Click Me Here오피월드


3CHHE

메리트카지노 said...

I'm writing on this topic these days, 메리트카지노, but I have stopped writing because there is no reference material. Then I accidentally found your article. I can refer to a variety of materials, so I think the work I was preparing will work! Thank you for your efforts.