Installing eclipse by apt-get

My favorable method for installing is always apt-get. Fortunately, eclipse is now included in apt-get repository. However, when I installed it with apt-get, it works fine for programming languages such as C/C++; but when I try to install Android Developer SDK, it gives an error for missing org.eclipse.ui.

I found several questions about this error, but no solution for apt-get install . The only solution is to install classic eclipse from source. I believe there should be a solution to install org.eclipse.ui with apt-get install.


You will need to install all of the following packages and dependencies:

eclipse
eclipse-jdt
eclipse-pde
eclipse-platform
eclipse-rcp

Once that was done I was able to install Android SDK without any issues through Eclipse. I am running on openjdk.