In this tutorial we are going to learn how to install Sublime Text on Ubuntu 18.04. We will also install and configure its prerequisites. Sublime text is a very powerful editor with a lot of advanced features, which makes it the favorite editor for many programmers and programmers. Sublime Text Editor 3 brings a refreshed UI theme, new color schemes, and also a new icon. Some of the additional highlights are big syntax highlighting developments, touch input on Windows, Touch Bar service on macOS and many more
I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 18.04 Bionic Beaver minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.
Install Sublime Text on Ubuntu 18.04
Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:
apt-get update -y apt-get upgrade -y
Step 2. Installing Sublime Text on Ubuntu 18.04.
Install sublime text 3 on Ubuntu is very easy because sublime provides an apt repository for Ubuntu 18.04:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - sudo apt-get install apt-transport-https echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
Then update the source list and run the apt-get install command to install sublime on Ubuntu:
sudo apt-get update sudo apt-get install sublime-text
To start Sublime Text editor on your Ubuntu 18.04 system open up terminal and enter:
Alternatively, open the editor go to the application menu and search sublime.
Congratulation’s! You have successfully install and configured Sublime Text 3 on your Ubuntu 18.04 LTS server. Thanks for using this tutorial for installing Sublime Text on Ubuntu 18.04 LTS (Bionic Beaver) system.