I sometimes run into software that is not offered in .deb
or .rpm
but only as an executable.
For example Visual Studio Code, WebStorm or Kerbal Space Programm.
For this question, I will take Visual Studio Code as the point of reference.
The software is offered as a zipped package.
When unzipping, I'm left with a folder called VSCode-linux-x64
that contains a executable named Code
.
I can double click Code
or point to it with my terminal like /home/user/Downloads/VSCode-linux-x64/Code
to execute it.
However, I would like to know if there is a proper way to install this applications.
What I want to achieve is:
- one place where I can put all the applications/softwares that are offered in this manner (executables)
- terminal support (that means for
example: I can write
vscode
from any folder in my terminal and it will automatically execute Visual Studio Code.
Additional info:
- Desktop Environment: Gnome3
- OS: Debian
EDIT:
I decided to give @kba the answer because his approach works better with my backup solution and besides that. Having script executing the binaries gives you the possibility to add arguments.
But to be fair, @John WH Smith approach is just as good as @kba's.