On the virtual machine to install centos6.732-bit linux comes with vim is not used to, so install your own sublimetext31 download sublimetext3 installation package https://www.sublimetext.com/3Ubuntu32bit-alsoavailableasatarballforot
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 a tarball for 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 plain copy
- Import urllib. request, OS, hashlib; h = '2915d1851351e5ee549c20394736b442 '+ '8bc59f460fa1548d1514676163dafc88'; pf = 'package Control. 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 ('error validating download (got % s instead of % s), please try manual install '% (dh, h) if dh! = H else open (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.