## Sublime text editor installation on CentOS: 7
Check Sublime text editor installed or not:
#subl --version
[root@localhost ~]# subl --version
Sublime Text Build 3210
If its not installed then:
1. Update your Linux by command line:
# yum -y update
2. Import GPG key
# sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
[root@localhost ~]# sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
3. Download Subline repos:
#sudo wget -P /etc/yum.repos.d/ https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo
[root@localhost ~]# sudo wget -P /etc/yum.repos.d/ https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo
4. Install DNF package for installing sublime text editor:
# yum -y install dnf
[root@localhost ~]# yum -y install dnf
5. Install Sublime text editor:
#sudo dnf install sublime-text
[root@localhost ~]# sudo dnf install sublime-text
6. Check:
#subl --version
[root@localhost ~]# subl --version
Sublime Text Build 3210
7. Run Sublime text editor
#subl
## Open an editor
== Enjoy your new editor ===
No comments:
Post a Comment