官方安装文档
apt
| Install the GPG key: |
| wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg > /dev/null |
| |
| Select the channel to use: |
| # Stable Version |
| echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list |
| |
| # Dev Version |
| 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 |
| |
| If this fails ensure apt is set up to work with https sources: |
| sudo apt-get install apt-transport-https |
| |
| |
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 x86_64 |
| echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf |
| |
| # Dev x86_64 |
| echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/x86_64" | sudo tee -a /etc/pacman.conf |
| |
| # Stable aarch64 |
| echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/aarch64" | sudo tee -a /etc/pacman.conf |
| |
| # Dev aarch64 |
| echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/aarch64" | 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 -y install sublime-text |
| Note there are no RPM packages for ARM currently. |
| |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 上周热点回顾(3.3-3.9)
· AI 智能体引爆开源社区「GitHub 热点速览」
2021-01-16 python3.8、3.9安装