Ubuntu18.04 安装 sublime3

  1. 云栖社区>
  2. 博客>
  3. 正文

Ubuntu18.04 安装 sublime3

hiekay 2018-11-07 11:32:20 浏览2952

1.安装 GPG key:

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

2.  确保apt已设置为使用https源

sudo apt-get install apt-transport-https

3.输出list

echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

4.更新apt源并安装Sublime Text

sudo apt-get update
sudo apt-get install sublime-text

5.注册

    1.打开工具

    2.点击Help选项下的Enter License,将下面Register码复制粘贴

    3.点击提交,即可!

----- BEGIN LICENSE -----
sgbteam
Single User License
EA7E-1153259
8891CBB9 F1513E4F 1A3405C1 A865D53F
115F202E 7B91AB2D 0D2A40ED 352B269B
76E84F0B CD69BFC7 59F2DFEF E267328F
215652A3 E88F9D8F 4C38E3BA 5B2DAAE4
969624E7 DC9CD4D5 717FB40C 1B9738CF
20B3C4F1 E917B5B3 87C38D9C ACCE7DD8
5F7EF854 86B9743C FADC04AA FB0DA5C0
F913BE58 42FEA319 F954EFDD AE881E0B
------ END LICENSE ------

6.支持中文

    1.git clone https://github.com/lyfeyaj/sublime-text-imfix.git

    2.cd sublime-text-imfix && ./sublime-imfix

7.重启Sublime Text3即可! 快捷命令: subl