Install sublimetext3 on CentOS 7
Download sublime_text_3_build_3126_x64.tar.bz2 from the Internet
Path: https://download.sublimetext.com/sublime_text_3_build_3126_x64.tar.bz2
After the download, upload the package to CentOs.
I put sublimetext3 IN THE/opt directory.
Decompress the file:
The subsequent file is related to the downloaded file. This document is sublime_text_3_build_3126_x64.tar.bz2.
Tar jxvf sublime_text_3_build_3126_x64.tar.bz2
Run the command line
# Cd/opt/sublime_text_3
#./Sublime_text
After installing the software, it is best to install package control >>>> this article takes sublime_text_3 as an example.
Use the Ctrl + 'shortcut or open the command line through the View-> Show Console menu and paste the following code:
Import urllib. request, OS; pf = 'package Control. sublime-package '; ipp = sublime. installed_packages_path (); urllib. request. install_opener (urllib. request. build_opener (urllib. request. proxyHandler (); open (OS. path. join (ipp, pf), 'wb '). write (urllib. request. urlopen ('HTTP: // sublime.wbond.net/'+ pf. replace ('', '% 20 ')). read ())
Then you can install any plug-in included in sublime_text_3.