Problem with GPT call

I am using SNAP 5.0 on ubuntu 16.04, I sucesuufully installed SNAP but I have a problem when calling gpt, from /snap/bin, I am obliged to type sh before gpt to get :
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Loading external tools…
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Scanning for external tools adapters: /home/sara/snap/rstb
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Scanning for external tools adapters: /home/sara/.snap/auxdata/tool-adapters
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Scanning for external tools adapters: /home/sara/snap/java
SEVERE: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Failed scan for Tools descriptors: I/O problem: /home/sara/snap/java
Usage:
gpt | [options] [ …]

Is that normal? And how can I call the gpt directly and from command line wondow(without going to /snap/bin directory)

Thanks

this should be ok, I had similar messages once.

To call the gpt from everywhere add the directory where it is located to your system’s path.

1 Like

Thank you for your answer, I did that and swutch off my PC so It was available just for the current session!
I tried to link it permanently as described in https://askubuntu.com/questions/627346/how-to-set-path-in-ubuntu
And That works well!