Install Sublime Text 3 for Ubuntu From Tarball (.tar.bz2)

August 21, 2018

NOTE: for installation using apt-get, refer to Sublime Text 3 Package Manager.

wget https://download.sublimetext.com/sublime_text_3_build_3176_x64.tar.bz2
tar vxjf sublime_text_3_build_3176_x64.tar.bz2

NOTE: Get latest Linux tarball

sudo ln -s /<INSTALL_DIR>/sublime_text_3/sublime_text /usr/bin/sublime3

Add Sublime Text 3 to launcher. Edit /usr/share/applications/sublime3.desktop.

[Desktop Entry]
Version=1.0
Name=Sublime Text 3
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
GenericName=Text Editor

Exec=sublime3
Terminal=false
Icon=/<INSTALL_DIR>/sublime_text_3/Icon/48x48/sublime-text.png
Type=Application
Categories=TextEditor;IDE;Development
X-Ayatana-Desktop-Shortcuts=NewWindow

[NewWindow Shortcut Group]
Name=New Window
Exec=sublime -n

References:

This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.