How to install sublime text editor on CentOS 7
To install Sublime Text Editor on CentOS 7
Sublime Text is a cross-platform source code editor developed based on Python' s Application Programming Interface (API). It supports many programming and markup languages and its functionality can be extended with the addition of surportive plugins, which are community-built and maintained under free-software licenses. In this tutorial you will be briefed about the installation of Sublime Text Editor on CentOS 7.
Features:-
- Goto Anything," quick navigation to files, symbols, or lines
- " Command palette" uses adaptive matching for quick keyboard invocation of arbitrary commands
- Simultaneous editing: simultaneously make the same interactive changes to multiple selected areas
- Python-based plugin API
- Project-specific preferences
- Extensive customizability via JSON settings files, including project-specific and platform-specific settings
- Cross platform (Windows, OS X, Linux)
- Compatible with many language grammars from TextMate
Installing Sublime Text Editor
Let us begin by downloading the rpm of Sublime Editor by using the following command.
[root@localhost Desktop]# rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
One it is downloaded, add the required repo file for sublime text editor to your machine as follows.
[root@localhost Desktop]# yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
Loaded plugins: fastestmirror, langpacks
adding repo from: https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
grabbing file https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo to /etc/yum.repos.d/sublime-text.repo
sublime-text.repo | 192 B 00:00:00
repo saved to /etc/yum.repos.d/sublime-text.repo
Now is the time to install the Sublime Text Editor. You can do it by running the following command.
[root@localhost Desktop]# yum install sublime-text -y
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00:00
epel/x86_64/metalink | 4.8 kB 00:00:00
epel | 4.3 kB 00:00:00
extras | 3.4 kB 00:00:00
.
.
.
Installing : sublime-text-3126-1.x86_64 1/1
Verifying : sublime-text-3126-1.x86_64 1/1
Installed:
sublime-text.x86_64 0:3126-1
Complete!
Sublime Text Editor has been installed. You can launch it with the help of the following command from your terminal.
[root@localhost Desktop]# subl
Comments ( 1 )