how to install sublime text on ubuntu, Kali LInux, Linux Mint, MxLinux etc

Опубликовано: 08 Октябрь 2024
на канале: HiLinuxOS
463
2

#Sublimetext #Linux #Ubuntu

Linux Package Manager Repositories
https://www.sublimetext.com/docs/3/li...


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.

apt - Ubuntu, Debian
pacman - Arch
yum - CentOS
dnf - Fedora
zypper - openSUSE

How to install SublimeText using apt Package manager in Ubuntu, Linux Mint, MXLinux etc

Install the GPG key:

wget -qO - https://download.sublimetext.com/subl... | 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