How to install Sublime Text on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to install Sublime Text on Ubuntu 18.04 Bionic Beaver Linux.

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver
  • Software: – Sublime Text 3.0 or higher

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Other Versions of this Tutorial

Ubuntu 20.04 (Focal Fossa)

Instructions

Add Sublime Text Repository

To start Sublime Text on Ubuntu 18.04 first add Sublime Text signing key and repository:

$ wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
$ sudo apt-add-repository "deb https://download.sublimetext.com/ apt/stable/"

Install Sublime Text on Ubuntu

Once the Sublime Text repository is in place enter the below command to install it:

$ sudo apt install sublime-text


Start Sublime Text editor

To start Sublime Text editor on your Ubuntu 18.04 system open up terminal and enter:

$ subl

Alternatively, search Activities menu:

Start Sublime Text - Ubuntu 18.04

Click on Sublime Text icon to start the editor.

Sublime Text Editor on Ubuntu 18.04

Sublime Text Editor on Ubuntu 18.04