首页 > 系统相关 >Sublime Text - Linux Package Manager Repositories

Sublime Text - Linux Package Manager Repositories

时间:2022-10-05 11:25:28浏览次数:73  
标签:Package Text sudo Repositories sublimetext https text download com

Linux Package Manager Repositories

http://www.sublimetext.com/docs/linux_repositories.html

Sublime Text includes an auto-upgrade mechanism on Windows and Mac 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 — Ubuntu, Debian

pacman — Arch

yum — CentOS

dnf — Fedora

zypper — openSUSE

apt

The apt repository contains packages for both x86-64 and arm64.

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

Select the channel to use:

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 install sublime-text

Note there are no RPM packages for ARM currently.

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

Note there are no RPM packages for ARM currently.

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

Note there are no RPM packages for ARM currently.

标签:Package,Text,sudo,Repositories,sublimetext,https,text,download,com
From: https://www.cnblogs.com/namevt/p/16755254.html

相关文章

  • ContextCapture-硬件配置推荐
    ContextCapture倾斜摄影的空三计算、三维建模应用。非常耗费硬件资源,适当调整硬件配置,可以显著提高模型处理时间。硬件常见问题随着倾斜摄影建模算法成熟,应用越来越广泛,......
  • spring:beanfactory与applicationcontext的设计
    beanfactory接口提供的方法:getBean,getBeanProvider,containsBean,isSingleton,getType,getAliaseslistableBeanFactory:不会取到手动注册的bean,为什么要这么做呢,因为有些bea......
  • 关于 SAP UI5 ODataModel.createEntry 返回的 context 对象
    在返回的上下文中使用创建的API返回的Promise对象,以便在持久化或重置时获得通知。使用isTransientAPI,您可以确定创建的上下文是transient的还是持久的;请注意,对于尚......
  • Unity同项目导出不同的UnityPackage流程
    Unity3D中的root项目导出为一个package;新建项目并将package导入进来;在新建的项目里更改里面的各种信息(脚本、模型、贴图等等);重命名所有的更改了的资源名称;将所有的prefab都......
  • 清除浮动前序--BFC(Box Formatting Context)
    BFC规范BFC(BoxFormattingContext,块级格式上下文)是页面上的一个隔离的独立容器一个盒子如果不设置高度,当子元素浮动时,无法撑起自身,就会造成父元素高度塌陷,原因是......
  • ContextCapture中的模型航拍方法和技巧
    在进行实景建模之前,获取被拍摄物体的照片是很重要的一项工作,因为如果没有按照规则拍摄或者拍摄相片质量不佳,将会直接影响我们后期建模,甚至无法建模。我们建议使用ContextC......
  • 为方面级情感分析建模上下文和句法特征 Modelling Context and Syntactical Features
    摘要基于方面的情感分析(ABSA)由两个概念任务组成,即方面提取和方面情感分类。我们不是单独考虑这些任务,而是构建一个端到端的ABSA解决方案。以前在ABSA任务中的工作没有充分......
  • Linux: Why should text files should end with a newline
       wc-l willnotcountafinal"line"ifitdoesn'tendwithanewline. Becauseafile(orstream)ofzerolinescanbedistinguishedfromafileo......
  • WPF开发经验-实现自带触控键盘的TextBox
    一引入项目有个新需求,当点击或触碰TextBox时,基于TextBox的相对位置,弹出一个自定义的Keyboard,如下图所示: 二KeyboardControl先实现一个自定义的KeyboardControl,它继......
  • VB,NET RichTextBox 计算光标所在行和列的方法
    PrivateSubRichTextBox1_Click(senderAsObject,eAsEventArgs)HandlesRichTextBox1.Click '计算光标所在的位置DimintSelstartAsInteger......