How to Install Sublime 3 on Ubuntu 20.04 / 18.04

In this tutorial, we show you to install Sublime 3 on Ubuntu 18.04 and Ubuntu 20.04 or other Ubuntu distributions.

Sublime Text 3 is a cross-platform, sophisticated code editor software program that allows you to be able to write code efficiently. Here you can do all that you want within the coding process, and it has a solid number of plugins and packages to customize the platform directly to your needs. It was built based on Python and C++. Sublime 3 includes 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 professional 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.

Sublime 3 is itself a cross-platform code editor app that works on Windows, Mac and Linux OS and it should work and helps 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

Cool, 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.

Follow TechBiriyani on FacebookTwitter to get all the latest updates.

Leave a Comment