Centos6.7 install sublime text 3
Install centos6.7 32-bit on a virtual machine
Linux is not used to using vim, so you can install sublime text 3 on your own.
1. Download the sublime text 3 installation package
Https://www.sublimetext.com/3
Ubuntu 32 bit-also available as atarballfor other Linux distributions.
I used centos to download tarball.
Download to the local root directory to/soft
Unzip and install:
# Cd/soft
# Tar-jxvf sublime_text_3_build_3103_x32.tar.bz2
After installation, there will be a sublime_text_3 directory under the soft directory
Run the following command:
#/Soft/sublime_text_3/sublime_text
At this time, the sublime editing window is displayed, and the installation is successful.
2. Create a shortcut
# Ln-s/soft/sublime_text_3/sublime_text/usr/bin/sublime
# Sublime-v
The sublime version information is displayed, indicating that the sublime version is created successfully!
3. Install the plug-in
3.1 install Package Control plug-in Manager
After opening sublime, press Ctrl + '(the button below esc) to bring sublime to the Controller.
Enter the code and press enter to install:
[Html] view plaincopy
- Importurllib. request, OS, hashlib; h = '2915d1851351e5ee549c20394736b442 '+ '8bc59f460fa1548d1514676163dafc88'; pf = 'packagecontrol. sublime-package '; ipp = sublime. installed_packages_path (); urllib. request. install_opener (urllib. request. build_opener (urllib. request. proxyHandler (); by = urllib. request. urlopen ('HTTP: // packagecontrol. io/'+ pf. replace ('', '% 20 ')). read (); dh = hashlib. sha256 (). hexdigest (); print ('errorvali Datingdownload (got % sinsteadof % s), pleasetrymanualinstall '% (dh, h) ifdh! = Helseopen (OS. path. join (ipp, pf), 'wb'). write ()
After installation, click the menu key: Preferences. The Package Control function is added.
Ctrl + Shift + p enter install select Package Control: install package enter the name of the plug-in you want to install the plug-in.