Add Sublime Text 4 Ubuntu Repository
Hi! The Tip shows you How to Add the Sublime Text 4 Apt Repository for Ubuntu-Based GNU/Linux Systems.
And this Sublime Text 4 Ubuntu Repository is valid also for:
- Linux Mint
- Lubuntu
- Kubuntu
- Xubuntu
- Zorin OS
- Elementary OS
- Linux Lite
- Bodhi Linux
- Kde Neon
- Pop!_OS
- Voyager
- Trisquel
- LXLE
- feren OS
- Peppermint
- Q4OS
- Linux Ultimate Edition

-
Open a Terminal Shell session
(Press “Enter” to Execute Commands) -
Then Install Required Apt Https Layer
sudo apt-get install apt-transport-https
If Got “User is Not in Sudoers file” then see: How to Enable sudo
-
Next Install GPG Key.
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
(For the Newer Release in case of apt-key Issue see: Gpg.d Keyring Setup Guide.)
-
Then Add Sublime Text 4 Apt Repository
Select the Stable/Dev Channel (But be Aware that this last Require a License!) to Use…
So for Stable makes:sudo su -c 'echo "deb https://download.sublimetext.com/ apt/stable/" > /etc/apt/sources.list.d/sublime-text.list'
Instead, for the Dev Channel:
sudo su -c 'echo "deb https://download.sublimetext.com/ apt/dev/" > /etc/apt/sources.list.d/sublime-text.list'
-
Finally, Refresh Apt Repositories.
sudo apt-get update