In this article, we will have explained the necessary steps to install and configure Sublime Text on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with
sudo privileges. All the commands in this tutorial should be run as a non-root user.
Sublime Text is a proprietary cross-platform versatile text and source code editor for web and software development. Sublime Text has a powerful, Python API that allows plugins to augment built-in functionality. Package Control can be installed via the command palette, providing simple access to thousands of packages built by the community. Sublime Text Editor is cross-platform, you can use it in Linux, Windows or Mac systems.
Install Sublime Text on Ubuntu 20.04
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
Step 2. Install Sublime Text on Ubuntu system.
Run the following commands in terminal to adding the Sublime Text PPA repository in Ubuntu:
wget-qO-https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo"deb https://download.sublimetext.com/ apt/stable/"|sudotee/etc/apt/sources.list.d/sublime-text.list
Once the repository is updated with the Sublime Text PPA, the next step is to install it as follows:
Step 3. Starting Sublime Text.
You can launch the Sublime Text editor either from the terminal by typing
subl or by clicking on the Sublime icon from the menu Applications -> Programming -> Sublime:
That’s all you need to do to install Sublime Text on Ubuntu 20.04. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.