`

如何在 Ubuntu 18.04 上安装 Sublime Text 3

阅读更多

如何在 Ubuntu 18.04 上安装 Sublime Text 3 

 

原文网址:https://linuxize.com/post/how-to-install-sublime-text-3-on-ubuntu-18-04/#installing-sublime-text

To install Sublime Text 3 on your Ubuntu system, follow these steps:

1. 安装基础依赖包

Update the apt package list and install the dependencies necessary to fetch packages from https sources:

$ sudo apt update 
$ sudo apt install apt-transport-https ca-certificates curl software-properties-common

2. 导入GPG key

Import the repository’s GPG key using the following curl command:

$ curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

3. 添加 Sublime Text 的 repository 到你系统的软件 repository 列表

Add the Sublime Text APT repository to your system’s software repository list by typing:

$ sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/"

4. 执行更新和安装

Once the repository is enabled, update apt sources and install Sublime Text 3 with the following commands:

$ sudo apt update
$ sudo apt install sublime-text
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics