After installing SNAP-ESA on my Ubuntu 20.10, snap store, the default software manager/updater for Ubuntu suddenly becomes unusable. Commands such as $ sudo snap install xxxxx opens up SNAP-ESA instead of installing wanted snap packages. Maybe it is because of the similar names between those two? Please fix this as snap-store is crucial to delivering updates for other snap delivered softwares.
When you installed ESA SNAP did you have it create a symbolic link for the “snap” command? You can try renaming the link, e.g., to “esa-snap”, or delete the link and run ESA SNAP by using the path of the . For example, if you installed SNAP in ~/snap
, you would run ~/snap/bin/snap
.
Name clashes are normal in linux/unix environments. There is nothing wrong going on, other than that. In fact there is nothing to fix - except perhaps explaining this better in the documentation.
The SNAP installer probably just updated your PATH (prefixing it with SNAP the bin dir). Your easiest/quickest solution is to change the setting (under ~/.profile or ~/.bash_profile or similar) and move the SNAP bin path to the end. This should give you back the snapcraft snap command and you can then use the full path to run SNAP snap.
Like @gnwiii mentions you can also create a link to the SNAP snap command to make your life easier.
Depending on your linux skills you may also want to play with the update-alternatives command, see:
Thank you, I will look further for the specific commands as I am very very new to Linux
You will find it pays dividends to spend some time learning linux command-line basics from somethinf like EdX Introduction to Linux or Linux Command. The latter is available in translations.
Thanks all. And here’s what I used specifically:
sudo mv /usr/local/bin/snap /usr/local/bin/esa-snap
cheers
PS hisyamahm welcome to the wonderful world of Linux! Hope you have fun : )
Thank you, I will.
@gnwiii @ashlin , could you please record any video tutorial how to install esa-snap on Ubuntu/Linux machine to prevent these issues and fix errors, which occur on Linux machine, Thank you very much, which will help all those who facing issues on Ubuntu.
anxiously waiting your response.
Dear @soomroi,
Are you experiencing any issues installing SNAP on Ubuntu? If so, could you let me know what version you are trying to install?
i was installed SNAP 7.0, was always reloaded/ updating automatically (I think it clash with snap folder of sea-snap) prevent to use other apps and work, kind of slow or hanged computer. now I reinstalled Ubuntu on my machine, want to install sea-snap to do my work. i would highly appreciate if there is detailed video, which help to install sea-snap to prevent issues was discussed
@soomroi ,
The version you have installed is quite old. We recommend installing the latest SNAP version, which can be downloaded from SNAP Download – STEP .
For Linux/Ubuntu version >= 16.04, please read the following instructions to avoid conflicts with the Ubuntu package manager “snap”: Update of SNAP default installation directory