sublime text 3的安装

Linux Package Manager Repositories

Sublime Text 3 includes an auto-upgrade mechanism on Windows and OS X to make upgrades a snap. Instead of going against the grain of the Linux ecosystem, packages and package repositories are provided for most of the major distributions.

Builds listed in the dev channel are only available to licensed users. Users who are evaluating Sublime Text before purchase will need to use the stable channel.

apt

Install the GPG key:

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

Ensure apt is set up to work with https sources:

sudo apt-get install apt-transport-https

Select the channel to use:

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

Update apt sources and install Sublime Text

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

pacman

Install the GPG key:

curl -O https://download.sublimetext.com/sublimehq-pub.gpg && sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && rm sublimehq-pub.gpg

Select the channel to use:

Stable
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf
Dev
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/x86_64" | sudo tee -a /etc/pacman.conf

Update pacman and install Sublime Text

sudo pacman -Syu sublime-text

yum

Install the GPG key:

sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg

Select the channel to use:

Stable
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
Dev
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo

Update yum and install Sublime Text

sudo yum install sublime-text

dnf

Install the GPG key:

sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg

Select the channel to use:

Stable
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
Dev
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo

Update dnf and install Sublime Text

sudo dnf install sublime-text

zypper

Install the GPG key:

sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg

Select the channel to use:

Stable
sudo zypper addrepo -g -f https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
Dev
sudo zypper addrepo -g -f https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo

Update zypper and install Sublime Text

sudo zypper install sublime-text
Sublime Text 3是一款流行的文本编辑器,以其轻量级、高效以及丰富的插件生态系统而受到开发者喜爱。下面是安装Sublime Text 3的基本步骤: 1. **下载安装包**:首先,访问Sublime Text的官方网站(https://www.sublimetext.com/3),点击“Download”按钮,选择适用于您的操作系统的版本(Windows、Mac OS或Linux)。通常推荐下载“Portable”版本,因为它不需要安装,便于携带。 2. **运行安装程序**:找到下载好的`sublime_text_portable.exe` (Windows) 或 `Sublime Text.app` (Mac) 文件,双击运行。如果是在Windows上,可能会提示允许该程序创建快捷方式。 3. **解压文件**:安装程序运行后,会自动生成一个包含Sublime Text的文件夹,通常放在桌面或者指定的位置。无需额外解压。 4. **开始使用**:打开这个文件夹,运行`sublime_text.exe` (Windows) 或直接打开`Sublime Text`图标(Mac)。初次启动时,您可能需要设置一些基本配置和个人喜好。 5. **自动保存**:由于是便携版,有些功能(如自动保存)可能不会默认开启。您可以从菜单栏的"Preferences" > "Settings - User" 中添加或修改设置来启用它们。 6. **安装插件**:虽然Sublime Text自带了很多功能,但其强大的扩展能力得益于大量的社区插件。可以在官方的Package Control网站(https://packagecontrol.io/installation)上安装插件,让Sublime Text更加强大。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值