Centos6.7 install sublimetext3

Source: Internet
Author: User
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
  1. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.