In this tutorial, we will show you how to install Sublime Text on CentOS 8. For those of you who didn’t know, Sublime Text 3 is a popular, cross-platform, lightweight source code editor with an amazing working environment. It has many built-in multifunction and Vim mode features. It natively supports many programming and markup languages. Sublime text has a built-in Python API available in Windows, Linux, and Mac OS.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Sublime Text 3 on a CentOS 7 server.
Install Sublime Text on CentOS 8
Step 1. First, let’s start by ensuring your system is up-to-date.
sudo dnf clean all sudo dnf update
Step 2. Installing Sublime Text on CentOS.
Start by importing Sublime Text 3 GPG key:
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
After import the key. You will add a yum repository on CentOS system:
sudo wget -P /etc/yum.repos.d/ https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
Finally, run the following command to install Sublime Text:
sudo dnf install sublime-text
Step 3. Accessing Sublime Text.
To launch sublime text editor 3.0 using terminal run the following command on terminal:
Congratulations! You have successfully installed Sublime Text. Thanks for using this tutorial for installing Sublime Text 3 on CentOS 8 system. For additional help or useful information, we recommend you to check the official Sublime Text website.