Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Install Sublime Text on Ubuntu

Three ways to install Sublime Text on Ubuntu: Software Center, the official repository and Snap.

VPS and Cloud Servers1 min read6 steps8 screenshots

Method 1: Ubuntu Software Center

  1. Open Ubuntu Software and search for Sublime Text.
    Searching Sublime Text in the software center
  2. Click Install and enter your password.
    Installing Sublime Text from the software center

Method 2: The official repository

  1. Add the signing key:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg > /dev/null
Adding the repository key
  1. Add the repository:
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
Adding the Sublime Text repository
  1. Update the package list:
sudo apt update
Updating the package list
  1. Install:
sudo apt install sublime-text
Installing Sublime Text

Method 3: Snap

sudo apt install snapd
Installing snapd
sudo snap install sublime-text --classic
Installing Sublime Text with Snap

Start it

Run subl in a terminal, or open it from the application menu.

Main features

  • Syntax highlighting for many languages.
  • Autocomplete suggestions as you type.
  • Multiple selections to edit many lines at once.
  • Goto Anything to jump to files and symbols fast.
  • Plugins through Package Control.
  • Fast and light, even with big files.

Quick recap

  • Use the repository for easy updates, or Snap for the quickest install.
  • Start the editor with subl.