Add Sublime Text 4 Debian Repository
Hi! The Tip shows you How to Add the Sublime Text 4 Apt Repository for Debian-Based GNU/Linux Systems.
And this Sublime Text 4 Debian Repository is valid also for:
- Kali
- MX Linux
- Deepin
- Parrot
- antiX
- SparkyLinux
- Q4OS
- Vanilla OS
- Netrunner
- Voyager Debian
- MakuluLinux
- Elive
- LMDE
- Parsix

Open a Shell Terminal emulator window
(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