Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sublime Text Edit 2 for Debian (from PPA)
wget http://blog.anantshri.info/content/uploads/2010/09/add-apt-repository.sh.txt
sudo mv add-apt-repository.sh.txt /usr/sbin/add-apt-repository
sudo chmod o+x /usr/sbin/add-apt-repository
sudo chown root:root /usr/sbin/add-apt-repository
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text-2
@vvim

This comment has been minimized.

Copy link

vvim commented Aug 22, 2012

Thanks for the helpful gist!

I am using CrunchBang, a Debian derivative, and everything worked fine. Only at the last command "sudo apt-get install sublime-text-2" I got the feedback that there is no installation candidate for "sublime-text-2", so I installed "sublime-text" and still got everything done. Changed name?

@abenevaut

This comment has been minimized.

Copy link

abenevaut commented Mar 20, 2013

Working fine! Thanks!

@tlongren

This comment has been minimized.

Copy link

tlongren commented May 17, 2013

They updated the PPA so that you need to do this now:

sudo apt-get install sublime-text

This won't work anymore:

sudo apt-get install sublime-text-2
@mingyc

This comment has been minimized.

Copy link

mingyc commented May 19, 2013

About add-apt-repository, you can install it via apt-get too:

sudo apt-get install python-software-properties software-properties-common
@marvinosswald

This comment has been minimized.

Copy link

marvinosswald commented May 24, 2013

Doesn't work for me :(

@derrekbertrand

This comment has been minimized.

Copy link

derrekbertrand commented Jun 11, 2013

Confirmed on LMDE UP 6. Web Upd8 Team changed the name to sublime-text, though, so do change that.

@AisIceEyes

This comment has been minimized.

Copy link

AisIceEyes commented Jun 20, 2013

I would also suggest change line 14's "lucid" to "precise" in the add-apt-repository.sh.txt file.

Lucid Lynx (10.04) is now not supported even though it was the last LTS. The current LTS, Precise Pangolin (12.04) will be "updated" until 2017. (The next LTS would be on April 2014 with letter T).

@emersoncoder

This comment has been minimized.

Copy link

emersoncoder commented Jun 20, 2013

sudo apt-get install sublime-text

@yann-kelcible

This comment has been minimized.

Copy link

yann-kelcible commented May 5, 2015

thanx, work fine for me on Debian Wheezy

@Hope2206

This comment has been minimized.

Copy link

Hope2206 commented Jun 1, 2016

Thanks, works for Debian Jessie

@jasoncummer

This comment has been minimized.

Copy link

jasoncummer commented Nov 2, 2016

Installed on Subgraph os with:
sudo apt-get install sublime-text-dev
Though it might have worked fine with just

sudo apt-get install sublime-text
?

@mukeshsinghbhakuni590

This comment has been minimized.

Copy link

mukeshsinghbhakuni590 commented Sep 4, 2017

the wget command took a lot of time rest all was quick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.