In this article, we will have explained the necessary steps to install and configure Sublime Text 3 on CentOS 7. 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.
Install Sublime Text 3 on CentOS 7
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
sudo yum install epel-release sudo yum update
Step 2. Installing Sublime Text on CentOS.
First, import SublimeHQ GPG key typing following command in terminal:
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
Now Add Sublime Text repository to repository list in your system running following command:
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
Then, you can install Sublime Text running following command:
sudo yum install sublime-text
Step 3. Starting Sublime Text.
You can launch the Sublime Text editor either from the terminal by typing subl or by clicking on the Sublime icon from the menu Applications -> Programming -> Sublime:
Congratulation, you have learned how to install and configure Sublime Text on CentOS 7. If you have any question, please leave a comment below.