How to Install Sublime 3 on Ubuntu 20.04 | 18.04

This brief tutorial shows students and new users how to install Sublime 3 text editor on Ubuntu 20.04 | 18.04.

Sublime Text is a cross-platform, sophisticated text/code editor for programmers and folks who need a decent editor with cool features like auto-generate project-wide index of classes, smart completions based on variable types, function definitions, and imported modules and more.

Whether you are new to programming or a seasoned programmer, you will need a great code editor to do your job. and Sublime Text is a code editor that combines the simplicity and speed for any developer.

And because it’s a cross-platform app that works on Windows, Mac Linux PC, it should work and allow you to move between different PC platforms.

When you’re ready to install Sublime Text on Ubuntu, follow the steps below:  There are multiple ways to install Sublime Text.

Option #1: Install Sublime Text from Repository

To install Sublime Text using its official repository, you’ll have to add it to Ubuntu. You can install the app from Ubuntu default repositories. however, the version that comes with Ubuntu may not necessarily be the latest.

First, run the commands below to install supporting packages. To ensure apt is set up to work with https sources, run the commands below.

sudo apt install apt-transport-https
sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common

To install the latest version, run the commands below to install its repository key and file.

curl -fsSL  | sudo apt-key add -
sudo add-apt-repository "deb  apt/stable/"

Finally, run the commands below to install.

sudo apt-get update
sudo apt install sublime-text

That should install Sublime Text. When you’re done, Sublime Text should be installed and ready to use.

To launch it, go to the Activities Overview and search Sublime Text and launch it.

Sublime Text, Ubuntu Install

Option #2: Install Sublime Text via Snap

If the option above didn’t work for you. you can also install Sublime Text via Snap package management.

This might be the quickest way to install Sublime Text… Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build.

They update automatically and roll back gracefully.

sudo apt install snapd
sudo snap install sublime-text --classic

That’s it!

This brief tutorial showed you how to install Sublime 3 on Ubuntu 20.04 | 18.04. If you find any error below please use the comment form below to report.

You may also like the post below: