(Last Updated On: May 22, 2019)

This article will discuss the installation of Sublime Text 3 on CentOS 8 / RHEL 8 workstation. Sublime Text is a cross-platform source code editor designed with simplicity and speed in mind. It has native support for many programming languages and markup languages.

You can unlock more features on Sublime Text 3 on RHEL 8 / CentOS 8 using thousands of plugins available for installation. This tutorial assumes you have a CentOS/RHEL 8 system installed with a Desktop Environment.

Step 1: Import GPG key

Start by importing Sublime Text 3 GPG key:

sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg

After the import, add the stable channel repository to RHEL / CentOS 8.

sudo wget -P /etc/yum.repos.d/ https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo

For Dev channel, use the command:

sudo wget -P /etc/yum.repos.d/ https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo

Step 2: Install Sublime Text on CentOS 8 / RHEL 8

Finally update dnf and install Sublime Text on CentOS 8 / RHEL 8.

sudo dnf install sublime-text

Launch Sublime Text on CentOS 8 / RHEL 8

The installation part is done, the application is started using a command line interface or from the Desktop environment applications launch section.

$ subl

Your installation of Sublime Text 3 on CentOS 8 / RHEL 8 has been successful. Have a happy coding time!!.