添加sublime text 3的仓库:
sudo add-apt-repository ppa:webupd8team/sublime-text-3
更新软件库
sudo apt-get update
安装Sublime Text 3:
sudo apt-get install sublime-text-installer
安装sublime2:
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text-dev