How to Install Sublime Text 3 on Ubuntu 18.04 Bionic Beaver

Install Sublime Text 3 on Ubuntu 18.04

In this article, we will have explained the necessary steps to install and configure Sublime Text 3 on Ubuntu 18.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. It is very fast and it comes with lots of powerful features out of the box. You can enhance its functionality by installing new plugins and creating custom settings.

Install Sublime Text 3 on Ubuntu

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

sudo apt update
sudo apt upgrade
sudo apt install apt-transport-https ca-certificates curl software-properties-common

Step 2. Install Sublime Text 3 on your Ubuntu system.

Import GPG key of the repository using the following command:

curl -fsSL | sudo apt-key add -

Now Add Sublime Text APT repository to repository list in your system running following command:

sudo add-apt-repository "deb apt/stable/"

Once the repository is enabled, update apt sources and install Sublime Text 3 with the following commands:

sudo apt update
sudo apt install sublime-text

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 18.04. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.