Sublime Text 3 includes Ubuntu .deb files for easier installation, but ST2 doesn’t. But it’s pretty easy:
-
make sure that the file sublime_text has execute privilege (chmod +x ./sublime_text)
…you should now be able to run this file from the GUI with a double or single click depending on the distro
-
If you run a distro which by default adds ~/bin to the system path, I’d suggest symlinking sublime_text into ~/bin as well. You can rename the symlink to “st” or “sub” or whatever for easier launch from a GUI terminal or ALT+F2 style launcher (gnome, KDE).
-
You can symlink sublime_text onto your desktop or into your favourite launcher too, and rename the symlink to taste.
-
Lastly, associate filetypes with your symlink if you wish to launch Sublime directly from your source files.
Advice: Don’t install sublime under your python folder. Install it straight under your home folder. If the linux is your own (ie. you have root) you could also install it into one of the system directories (distro dependent), then drop a symlink to somewhere in the path as above.
Note. Sublime is a GUI only editor. It won’t run in a non-GUI (text only) linux environment.
