Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
sudo -i
#add sublime to repository#
add-apt-repository ppa:webupd8team/sublime-text-2
apt-get update
apt-get install sublime-text-2

Do the commands above install both the stable and dev version of sublime text 2?

The following extra packages will be installed:
libgio-cil sublime-text-2-dev

The following NEW packages will be installed:
libgio-cil sublime-text-2 sublime-text-2-dev


i think it dont install dev version, its only a stable(but i am not sure)

Here is the commands to install dev version
$ sudo apt-get install sublime-text-2-dev

and the commands to install beta version
$ sudo apt-get install sublime-text-2-beta

Thank you


Thanks for your reply!




Thank you from my side as well.... :)


Thank you devudilip


thanks a bunch you just saved me a lot of trouble


thank you :-)


to your terminal by
sudo ln -s /path/to/Sublime\ Text\ 2/sublime_text /usr/bin/subl


This worked for me for the package name...

apt-get install sublime-text


Thank you, i work myself


As for @ryanl4321

apt-get install sublime-text-2

doesn't work.

apt-get install sublime-text



@ryanl4321 - Thank you that worked!


~$ which sublime-text

~$ ll $(!!)
ll $(which sublime-text)
lrwxrwxrwx 1 root root 14 Jul 16 2012 /usr/bin/sublime-text -> sublime-text-2*

Although you "apt-get install sublime-text" ... sublime-text-2 is the actual binary.


this works for me
$sudo add-apt-repository ppa:webupd8team/sublime-text-2

$ sudo apt-get install sublime-text-2-beta


[apt-get install sublime-text] works fine.


None of these work for me... Added the repository and sublime sublime-text sublime-text-2 and sublime-text-2-beta doesn't download anything. Receive Unable to locate package...

Edit: need to do an "apt-get update" then "apt-get install sublime-text" works


sudo apt-get install sublime-text
Reading package lists... Done
Building dependency tree

Reading state information... Done
E: Unable to locate package sublime-text


sudo apt-get update

sudo apt-get install sublime-text-2-dev


@puntofisso is right only apt-get install sublime-text works for me


I'm having trouble installing sublime text 2 from their website onto Linux, Ubuntu. I tried many of the examples above and below and I get Errors and things Not Found. After downloading sublime text and when trying to open it the application isn't found. I don't know what to do with the package setup and sublime plug in. I'd love to get sublime's text editor opened and running. HELP! would be greatly appreciated!


@nbpro its worked for me thanks..............


thanks..@devudilip, it fixed my problem and worked for me..!!


I got my sublime text 2 but, theres something wrong. Its says, UNREGISTERED on the window title of my sublime text. Is anyone could help me ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.