Instantly share code, notes, and snippets.

Embed
What would you like to do?
HOW TO INSTALL SUBLIME TEXT 2 ON UBUNTU 11.10
#BECOME SUPER USER#
sudo -i
#add sublime to repository#
add-apt-repository ppa:webupd8team/sublime-text-2
#update#
apt-get update
#install#
apt-get install sublime-text-2
@devudilip

This comment has been minimized.

Owner

devudilip commented Feb 15, 2012

@samzhao

This comment has been minimized.

samzhao commented Mar 18, 2012

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
"

@devudilip

This comment has been minimized.

Owner

devudilip commented Mar 20, 2012

Hi
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

@samzhao

This comment has been minimized.

samzhao commented Mar 20, 2012

Thanks for your reply!

@iancrowther

This comment has been minimized.

iancrowther commented Jul 9, 2012

Thanks

@presha1

This comment has been minimized.

presha1 commented Nov 12, 2012

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

@hegde89

This comment has been minimized.

hegde89 commented Feb 3, 2013

Thank you devudilip

@gibbzo

This comment has been minimized.

gibbzo commented Feb 10, 2013

thanks a bunch you just saved me a lot of trouble

@bkvirendra

This comment has been minimized.

bkvirendra commented Mar 4, 2013

thank you :-)

@nickleefly

This comment has been minimized.

nickleefly commented Mar 9, 2013

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

@ryanl4321

This comment has been minimized.

ryanl4321 commented Apr 12, 2013

This worked for me for the package name...

apt-get install sublime-text

@geoom

This comment has been minimized.

geoom commented Apr 14, 2013

Thank you, i work myself

@puntofisso

This comment has been minimized.

puntofisso commented Apr 18, 2013

As for @ryanl4321

apt-get install sublime-text-2

doesn't work.

apt-get install sublime-text

does.

@ajitdev

This comment has been minimized.

ajitdev commented May 2, 2013

@ryanl4321 - Thank you that worked!

@claggierk

This comment has been minimized.

claggierk commented May 20, 2013

~$ which sublime-text
/usr/bin/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.

@nbpro

This comment has been minimized.

nbpro commented Jun 28, 2013

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

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

@freeloki

This comment has been minimized.

freeloki commented Sep 29, 2013

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

@pdxbug

This comment has been minimized.

pdxbug commented Nov 28, 2013

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

@ahmadhasankhan

This comment has been minimized.

ahmadhasankhan commented Dec 25, 2013

sudo apt-get install sublime-text
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sublime-text

@hardikhardiya

This comment has been minimized.

hardikhardiya commented Dec 26, 2013

sudo apt-get update

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

@RaazTripathi

This comment has been minimized.

RaazTripathi commented Jan 10, 2014

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

@Dgunden

This comment has been minimized.

Dgunden commented Jun 7, 2014

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!

@Neminath

This comment has been minimized.

Neminath commented Oct 27, 2014

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

@himanshinigam09

This comment has been minimized.

himanshinigam09 commented Jun 30, 2015

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

@sinar96

This comment has been minimized.

sinar96 commented Sep 25, 2015

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