Sublime Text is one of the most popular, powerful and widely used text editor today. It is used for web and software development. You also can make it more powerful by installing Sublime Text plugins. In this tutorial, described how to install Sublime Text on CentOS 7 system.
Before you start Sublime Text 3 installation on CentOS 7 system, Make sure you are logged in as a non-root user with sudo privileges.
Install Sublime Text on CentOS
To install Sublime Text 3 on your CentOS system follow the below steps:
At first, you should import Sublime GPG key for repository using below command:
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
Next, add the yum repository to your system using following command:
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
Once the repository enabled, Execute the below command to install Sublime Text 3:
sudo yum install sublime-text
That’s all. Sublime Text is installed on your CentOS system and ready to use.
Start Sublime Text
You can start Sublime Text using your system terminal by typing
subl or your can launch from
Applications -> Programming -> Sublime Text menu.
When you launch Sublime Text first time it will look like as below:
You have learned how to do installation of Sublime Text on your CentOS 7 system. You also can customize your Sublime Text editor by installing plugins. If you would like to get more details about Sublime Text visit the official Sublime Text documentation page.
If you have any question or suggestion, please leave comment below.