Centos6.7 install sublime text 3

Source: Internet
Author: User

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
  1. 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.

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.