How to Install Sublime Text on CentOS

Introduction

Sublime Text is the cross-platform source code editor with 22 different visual themes having option to download additional themes if required. It natively supports many programming and markup languages. It is mainly written in C++ and Python. Sublime Text 2.0.2 was released on 8 July, 2013. In this tutorial, we will install Sublime Text on CentOS.

Prerequisites

  • CentOS
  • Login as an administrator on the terminal

Installation

Installation includes following steps.

1) Import Sublime Text Repository

Sublime Text repository is not imported by default with CentOS7 Yum repository. We have to use the following command to import.

CentOS How to Install Sublime Text on CentOS 1

2) Add Repository

The imported repository needs to be added to Yum package manager. Use the following command to accomplish this task.

CentOS How to Install Sublime Text on CentOS 2

3) Install Sublime Text

Use the following command to install sublime text on CentOS

CentOS How to Install Sublime Text on CentOS 3
CentOS How to Install Sublime Text on CentOS 4
CentOS How to Install Sublime Text on CentOS 5

4) Verify Sublime Text

Now, Sublime-Text is installed on our CentOS. We can check whether is working fine or not by typing subl <file-name> on terminal.

CentOS How to Install Sublime Text on CentOS 6

Hence, we have successfully installed and get started with Sublime Text.


Next TopicInstall Atom




Latest Courses