snap vs apt install (here for eclipse)

11,848

Let's compare version numbers.

  1. Official Ubuntu repository has eclipse package with 3.8.1 version.
  2. Snap - Eclipse 4.7.3a (as you have already discovered, should be installed with snap install eclipse --classic)
  3. Ubuntu Make has 4.7.3a:

    sudo apt-get install ubuntu-make
    umake ide eclipse
    

Snap version has access to removable media because of --classic confinement:

This revision of snap "eclipse" was published using classic confinement and thus may perform arbitrary system changes outside of the security sandbox that snaps are usually confined to, which may put your system at risk.

But I recommend version from Ubuntu Make. It is more straightforward.

Share:
11,848

Related videos on Youtube

muclux
Author by

muclux

Updated on September 18, 2022

Comments

  • muclux
    muclux almost 2 years

    When calling eclipse in terminal I am told to do one of

    sudo snap install eclipse         
    sudo apt  install eclipse-platform
    

    However snap search eclipse gives only

    Name       Version  Developer     Notes    Summary
    eclipse    4.7.3a   snapcrafters  classic  Extensible Tool Platform and Java IDE
    mosquitto  1.5      ralight       -        Eclipse Mosquitto MQTT broker
    

    whereas apt search eclipse gives a huge list of eclipse related packages. Does this mean that if I want to have e.g. "Python IDE for Eclipse" I have to go for the apt variant?

  • muclux
    muclux about 6 years
    So that would mean for python development "ubuntu make" and "pycharm" instead of "eclipse" and "pydev". Right?
  • N0rbert
    N0rbert about 6 years
    Right, or eclipse-pydev 3.9.2 from APT-repository. I have never used Eclipse for Python development. I tried Spyder3, it works great.
  • Aryo Adhi
    Aryo Adhi about 6 years
    Clarification: doesn't classic confinement means it acts like usual .deb package, which has access to system?
  • undsoft
    undsoft about 6 years
    The Eclipse snap is indeed classic confined, so has access to the entire system, including external USB or other mounted filesystems.
  • N0rbert
    N0rbert about 6 years
    @popey in the Eclipse case you are right. Because of --classic nature it works as expected. Thank you!
  • Shadi
    Shadi over 4 years
    TIL Ubuntu Make