如何在 Debian 10 上安装 Sublime Text 3
Sublime Text 是一款令人惊叹的源代码编辑器,专为软件和网站开发而设计。它是程序员首选的强大工具,因为它具有跨平台支持,因此 Windows、Linux 和 Mac 用户都可以轻松使用它。它快速、轻量,并提供良好的插件支持来创建自定义设置。
除此之外,Sublime 还为各种编程语言、多种命令和快捷方式提供了良好的支持,以确保快速的工作流程。它是一个专有应用程序,您可以免费使用它,但您需要购买许可证才能在系统上连续使用它。
Sublime Text 3 在 Debian 10 上的安装过程很简单,但需要使用特定的命令来消除安装时的错误。我们将介绍如何在 Debian 10 上安装 Sublime 3 的完整信息,以便在 Linux 系统上安装 Sublime 变得轻松且可以独立安装。
Sublime Text 的特点
Sublime Text 提供了一些奇妙且有用的功能,因此这些功能是:
它提供了拆分编辑功能,这意味着您可以查看不同的窗格,并且每个窗格都包含其他选项卡。
通过各种选择功能,您可以有效地对文本进行惊人的更改。
您可以使用 CTRL+R 作为快捷方式来创建大量文件的有效列表。
Sublime 跨平台支持 Windows、Mac 和 Linux。但是,您需要获得使用 Sublime Text 的许可证,并且它不依赖于操作系统。
用户可以根据自己的需求定制和配置sublime。
Sublime Text 拥有大量针对不同功能的基本快捷键。
如何在 Debian 10 上安装 Sublime Text 3
在开始安装过程之前,请使用 sudo roost 用户使用以下命令登录 Debian 系统:
我们使用官方 Apt 存储库在 Debian、Linuxmint 和 Ubuntu 上进行安装,因此在终端中执行以下命令:
在包管理器中添加 Sublime Text 存储库; Sublime Text 存储库有两种类型:开发版本和稳定版本。
我们推荐稳定版本,因为它包含的错误较少。在终端中使用以下命令安装它:
sudo tee /etc/apt/sources.list.d/sublime-text.list
如果您想使用开发版本,请执行以下命令:
sudo tee /etc/apt/sources.list.d/sublime-text.list
接下来,通过新的 Sublime Text 存储库更新包管理器,因此执行以下命令:
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] Get:4 https://download.sublimetext.com apt/stable/ InRelease [2,562 B] Get:5 https://download.sublimetext.com apt/stable/ Packages [1,014 B] Fetched 52.9 kB in 2s (23.5 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
42 packages can be upgraded. Run 'apt list --upgradable' to see them.
更新包管理器后,执行以下命令安装 Sublime Text 3。
Reading package lists... Done Building dependency tree Reading state information... Done
The following package was automatically installed and is no longer required: grub-pc-bin Use 'apt autoremove' to remove it.
The following NEW packages will be installed: sublime-text 0 upgraded, 1 newly installed, 0 to remove, and 42 not upgraded.
Need to get 9,846 kB of archives. After this operation, 34.8 MB of additional disk space will be used.
Get:1 https://download.sublimetext.com apt/stable/ sublime-text 3207 [9,846 kB]
Fetched 9,846 kB in 25s (394 kB/s)
Selecting previously unselected package sublime-text. (Reading database ... 141303 files and directories currently installed.)
Preparing to unpack .../sublime-text_3207_amd64.deb Unpacking sublime-text (3207) ... Setting up sublime-text (3207) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.31.4-3) ...
在系统中安装 Sublime Text 3 后,使用活动选项卡中的搜索栏打开应用程序。
如果您想从系统中卸载 Sublime Text 3,请执行以下命令:
结论
本文涵盖了有关如何在 Debian 10 上安装 Sublime Text 3 所需的所有信息。如前所述,Sublime 是一款专为软件和 Web 开发人员和程序员设计的出色工具,并提供各种独特的功能。我们已经包含了安装 Sublime Text 3 的所有必要步骤,希望它适合您。