In this tutorial we are going to learn how to install Sublime Text on CentOS 7. 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 CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.
Install Sublime Text on CentOS 7
Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:
yum -y install epel-release yum -y update
Step 2. Installing Sublime Text on CentOS 7.
First, downloading the rpm of Sublime Editor by using the following command:
rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
Next, add the required repo file for sublime text editor:
yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
Then, install sublime on CentOS 7 using following command:
yum install sublime-text
You can launch it with the help of the following command from your terminal: