[Sublime Text2] Installation Steps for Ubuntu

Tadashi Shigeoka ·  Tue, June 19, 2012

I installed Sublime Text2 on Ubuntu. Here’s a quick memo of the steps.

・Reference: How to install Sublime Text 2 on Ubuntu 12.04 (Unity) | Technoreply

■ Step 1

Download the Linux version from the link below and extract it to your home directory.

Sublime Text - Download

■ Step 2

sudo mv Sublime\\ Text\\ 2 /usr/lib/

■ Step 3

sudo ln -s /usr/lib/Sublime\\ Text\\ 2/sublime_text /usr/bin/sublime

■ Step 4

sudo sublime /usr/share/applications/sublime.desktop
[Desktop Entry]
Version=1.0
Name=Sublime Text 2
# 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=sublime
Terminal=false
Icon=/usr/lib/Sublime Text 2/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
TargetEnvironment=Unity

■ Step 5

Pin Sublime Text to the launcher

That’s all from the Gemba.