Skip to content

Instantly share code, notes, and snippets.

@olekukonko
Forked from Kerrick/gist:2716568
Created March 15, 2014 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olekukonko/9574562 to your computer and use it in GitHub Desktop.
Save olekukonko/9574562 to your computer and use it in GitHub Desktop.
# Download Sublime Text 2 from http://www.sublimetext.com/2
# If you aren't root, sudo su
tar -xvjf Sublime\ Text\ 2*.tar.bz2
mv Sublime\ Text\ 2/ /opt/sublime-text-2/
ln -s /opt/sublime-text-2 /usr/local/sublime-text-2
ln -s /usr/local/sublime-text-2/sublime_text /usr/local/bin/sublime_text
rm Sublime\ Text\ 2*.tar.bz2
# Sublime Text 2 can now be run as normal user with command "sublime_text"
# In GNOME 2, you can add it to the application menu by:
# 1. Right click on the Applications menu
# 2. Select "edit menus"
# 3. Click on "Programming"
# 4. Select "new item"
# - Type: Application
# - Name: Sublime Text 2
# - Command: sublime_text
# - Icon: /opt/sublime-text-2/Icon/48x48/sublime_text.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment