How to Install Sublime Text on CentOS 8

Install Sublime Text on CentOS 8

In this article, we will have explained the necessary steps to install and configure Sublime Text on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Sublime Text is a proprietary cross-platform versatile text and source code editor for web and software development. It is very fast and it comes with lots of powerful features out of the box. Recently, a new version of Sublime 3.0 released with a new UI theme, new color schemes, and icons. Some of the other features are syntax highlighting improvements and apt/yum/Pacman repositories for Linux.

Install Sublime Text on CentOS 8

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

sudo dnf install epel-release
sudo dnf update

Step 2. Installing Sublime Text on the CentOS system.

Now we import the Sublime Text 3 GPG key:

sudo rpm -v --import

After the import, add the stable channel repository to CentOS 8:

sudo wget -P /etc/yum.repos.d/

Once done, you can install Sublime Text running the following command:

sudo dnf install sublime-text

Step 3. Launch Sublime Text on the CentOS system.

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


That’s all you need to do to install Sublime Text on CentOS 8. I hope you find this quick tip helpful. For further reading on Sublime Text, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.