How to Install the Latest Sublime Text 3 on Ubuntu 22.04, 20.04 – This is a flexible and lightweight code editor favored by many programmers. If you’re looking for a fast, low-resource yet feature-rich code editor, Sublime Text 3 could be the perfect choice.
Step-by-Step Guide to Installing Sublime Text 3 on Ubuntu 22.04/20.04
Step 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, navigate to the ~/Downloads
folder by running the following command in the Terminal:
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.
Step 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.
With Sublime Text 3 installed on your Ubuntu 22.04 or 20.04 system, you now have a powerful and versatile text editor at your disposal. Whether you’re a developer, writer, or anyone who works with text files regularly, Sublime Text 3 offers a wealth of features and customization options to enhance your productivity and workflow. Don’t hesitate to explore its vast ecosystem of packages and plugins to tailor the editor to your specific needs