How to Install Sublime Text 3 on CentOS 7

Install Sublime Text 3 on CentOS 7

Sublime Text is one of the powerful text editor available for CentOS 7. Sublime Text can be used as text or source code editor for web and software development. You can also extend the functionality of Sublime Text using plugins. In this tutorial, you are going to learn how to install Sublime Text 3 on CentOS 7.


Before you start to install Sublime Text 3 on CentOS 7. You must have the non-root user account on your system with sudo privileges.

Install Sublime Text

To install Sublime Text on CentOS we will first import SublimeHQ GPG key for repository. Then we will add Sublime Text repository to the system repository list. Then you are ready to install Sublime Text.

First import SublimeHQ GPG key typing following command in terminal.

sudo rpm -v --import

Now Add Sublime Text repository to repository list in your system running following command:

sudo yum-config-manager --add-repo

Now you can install Sublime Text running following command:

sudo yum install sublime-text

Start Sublime Text

To launch Sublime Text from terminal run following command:


NOTE: You can also launch Sublime Text using activities in CentOS 7.

After launching Sublime Text you will get the following output:

Sublime Text
Sublime Text


You have successfully learned how to install Sublime Text 3 on CentOS 7. If you have any queries regarding this tutorial then please don’t forget to comment below.