Ubuntu16.04 Installation Sublime Text 3

Source: Internet
Author: User

Tags: pack lib span ack led system write share class

1. Add a software source for the Sublime-text-3 software package

  

2. Update the system software source

  

3. Installing sublime-text-3

  

4. Command line Startup

Subl

  

5. Install the package control

Open Sublime Text3, press the shortcut key "C trl】+【``】(左上角第二排第一个键)或者【 View", "Show Console" to bring up the input box, and then paste the following code into the input box to complete the package control installation:

ImportUrllib.request,os,hashlib; h ='6f4c264a24d933ce70df5dedcf1dcaee'+'ebe013ee18cced0ef93d5f746d80ef60'; 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 (by). Hexdigest ();Print('Error validating download (got%s instead of%s), please try manual install'% (DH, h))ifDH! = hElseOpen (Os.path.join (IPP, PF),'WB'). Write (by)
Code

Ubuntu16.04 Installation Sublime Text 3

Related Article

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.

Tags Index: