you ran into a problem caused by a conflict of the same name for two different software. The snap package, which was already installed, is a default installation which comes with your ubuntu distribution, find some information about it here https://en.wikipedia.org/wiki/Snappy_(package_manager) if you do
sudo apt-get install snap
you do not install esa’s SNAP but Canonical’s snaps, this software would not appear if you search for it. I extracted the software installation and configuration for esa’s SNAP from an other manual which I have written for some other workflows, find it here: SNAP_installation.html (1.0 MB)
. By following these steps closely, I think you will have esa’s SNAP installed and configured properly really quick. Good Luck
Here is what I have done as the most simple installation:
Get the file by using: wget http://step.esa.int/downloads/6.0/installers/esa-snap_sentinel_unix_6_0.sh
It took some time to download: esa-snap_sentinel_unix_6_0.sh 100%[=================================================>] 516.60M 3.03MB/s in 3m 7s
Then make it executable: chmod +x esa-snap_sentinel_unix_6_0.sh
Then install it: sudo ./esa-snap_sentinel_unix_6_0.sh
After installation starts it asks some questions:
Unpacking JRE …
Preparing JRE …
Starting Installer …
This will install ESA SNAP on your computer.
OK [o, Enter], Cancel [c]
Delete SNAP's configuration data and user settings?
The installer detected SNAP user data directories from a previous
installation. These directories contain system file used by the application
and also stored graphs, RGB profiles or other auxiliary data. The data
stored in these directories might not be compatible with this new SNAP
Shall the installer try to remove these directories?
Yes, try deleting all SNAP user data , Delete only SNAP-internal configuration data (recommended). [2, Enter]
Where should ESA SNAP be installed?
Which components should be installed?
*: SNAP [*1]
1: Sentinel-1 Toolbox [*2]
2: Sentinel-2 Toolbox [*3]
3: Sentinel-3 Toolbox [*4]
4: Radarsat-2 Toolbox [*5]
(To show the description of a component, please enter one of *1, *2, *3, *4, *5)
Please enter a comma-separated list of the selected values or [Enter] for the default selection:
Thank you so much to everyone! I’ve been able to install it! now the problem is to install plugins. I got the following errors:
Networking problem in file:/home/zoffoli-m/Téléchargements/sen2coral-kit-1.0.0.nbm
Check your proxy settings or try again later. The server may be unavailable at the moment. You may also want to make sure that your firewall is not blocking network traffic. Your cache may be out of date. Please click Check for Updates to refresh content.
I am using SNAP during long time but after installing ubuntu18 instead of ubuntu16, ı need to install snap6 again and ı have this installation problem first time
while getting the setup from internet ı need the code wget and then ı write chmod +x esa-snap_sentinel_unix_6_0.sh and then sudo ./esa-snap_sentinel_unix_6_0.sh but ı had some problems on installation like shown below terminal pictures
first my installation wasn’t completed completelly (stop on %99) and later ı had the problem like 2. picture
I had a similar issue after installing SNAP 7.0 (downloaded on 2019/Nov/19) using the above procedure described by KenanV.
The messages when starting snap in the terminal was:
"Gtk-Message: 13:17:49.557:Failed to load module “canberra-gtk-module”
But after installing the module with:
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
And starting snap again, it all worked fine.
I use Ubuntu 18.04.2. (Linux 5.0.0-32-generic with x86_64 GNU/Linux OS)
You should ask your question in a new thread. This thread dates from 2018 and the problem was different. libEGL warning: DRI2: failed to authenticate is a usually a linux distro configuration problem, so you may get better results from a distro-specific forum.