For install a debian (UBUNTU) package .sh that you have download, follow the step below.
NOTE:
For a basic command regarding Linux see: emcu.eu
next see: Linux & C
see below.
Suppose that you had downloaded the STM32CubeIDE, now on your Linux PC there is a file named:
en.en.st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.deb_bundle.sh.zip
Unzip it
and you must have a directory named:
en.en.st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.deb_bundle.sh
Open a Terminal ( ctrl + alt + t) and enter in the directory above by using the command:
cd Downloads/en.en.st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.deb_bundle.sh
In the directory you see a file named:
st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.deb_bundle.sh
Is necessary change the permission of the file, do this:
chmod +x st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.deb_bundle.sh
Now you are ready for install your file, type the command below:
./name_of_file
In our case the complete command is below.
./st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.deb_bundle.sh