Skip to content

Instantly share code, notes, and snippets.

@vshvedov
Created November 16, 2011 17:00
Show Gist options
  • Star 31 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save vshvedov/1370650 to your computer and use it in GitHub Desktop.
Save vshvedov/1370650 to your computer and use it in GitHub Desktop.
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
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
Copy link

Working fine! Thanks!

@tlongren
Copy link

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
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
Copy link

Doesn't work for me :(

@derrekbertrand
Copy link

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

@AisIceEyes
Copy link

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
Copy link

sudo apt-get install sublime-text

@yann-kelcible
Copy link

thanx, work fine for me on Debian Wheezy

@Hope2206
Copy link

Hope2206 commented Jun 1, 2016

Thanks, works for Debian Jessie

@jasoncummer
Copy link

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
Copy link

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