This article shows how to install Sublime text 3 on Ubuntu 22.04 | 20.04 version 3 or the latest. Sublime Text is a flexible, lightweight, low-resource code editor favored by many programmers today. If you are struggling to find a code editor with good support but fast startup speed, this is the best choice in 2022 for you.
Install and Activate Sublime text 3 on Ubuntu 22.04 and 20.04 LTS
1. Download and install the deb file Sublime text 3
First, go to the link https://www.sublimetext.com/3, then download the 64-bit (Linux).deb file.
Next, move (cd) to ~/Downloads
the folder and open Terminal then run the command to install.
cd ~/Downloads ls sudo dpkg -i sublime-text_build-3211_amd64.deb
After completing the installation, you can find sublime text in the search menu. Click Add to favorites to add icons to the taskbar.
2. Activate Sublime text 3.2.2 License key on Ubuntu
Open the file /etc/hosts and add the following content:
# Sublime Text 3 127.0.0.1 license.sublimehq.com 127.0.0.1 45.55.255.55 127.0.0.1 45.55.41.22
Press Ctrl + X
, select Y
to save the file.
Open Sublime text 3, Click help -> Enter license and enter your activation code. You can find the sublime text 3 activation code here.
— Read more: How to clean up junk files on Ubuntu 22.04 and 20.04 LTS
– Advertising –