-
-
Save vshvedov/1370650 to your computer and use it in GitHub Desktop.
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 |
Working fine! Thanks!
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
About add-apt-repository
, you can install it via apt-get
too:
sudo apt-get install python-software-properties software-properties-common
Doesn't work for me :(
Confirmed on LMDE UP 6. Web Upd8 Team changed the name to sublime-text, though, so do change that.
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).
sudo apt-get install sublime-text
thanx, work fine for me on Debian Wheezy
Thanks, works for Debian Jessie
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
?
the wget command took a lot of time rest all was quick
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?