1.安装python-software-properties工具包
add-apt-repository 是由 python-software-properties 这个工具包提供的
所以要先安装python-software-properties 才能使用 add-apt-repository
否则会显示“command not found”
安装方法:
1
|
sudo
apt-get
install
python-software-properties
|
2.安装Sublime Text 2
下面才是真正安装SublimeText2的命令
1
2
3
|
sudo
add-apt-repository ppa:webupd8team
/sublime-text-2
sudo
apt-get update
sudo
apt-get
install
sublime-text
|
或者
1
|
sudo
apt-get
install
sublime-text-dev
|
http://www.qianduan.net/essential-to-sublime-the-text-2-plugins.html
http://baike.baidu.com/view/1580236.htm
http://www.cnblogs.com/rollenholt/archive/2012/05/31/2528300.html