How to install the Package Controller?

https://packagecontrol.io/installation

INSTALLATION

Use one of the following methods to install Package Control:

1.Command Palette

(1) Open the command palette

Win/Linux: ctrl+shift+p, Mac: cmd+shift+p

(2) Type Install Package Control, press enter

2.Menu

(1) Open the Tools menu

(2) Select Install Package Control…

This will download the latest version of Package Control and verify it using public key cryptography. If an error occurs, use the manual method instead.

3.Manual

If the command palette/menu method is not possible due to a proxy on your network or using an old version of Sublime Text, the following steps will also install Package Control:

(1) Click the Preferences > Browse Packages… menu

(2) Browse up a folder and then into the Installed Packages/ folder

(3) Download Package Control.sublime-package and copy it into the Installed Packages/ directory

[If the downloaded file is "package control. Zip", rename the file name of "package control.Zip" to "package control.Sublime-package"]

(4) Restart Sublime Text

Notice:

(1).The web address of this 3.(3).("Package Control.sublime-package") is:

https://packagecontrol.io/Package Control.sublime-package

(2).The download address copied from the IDM Downloader is http:

https://packagecontrol.io/Package Control.sublime-package

Installation DOCS Troubleshooting

1.There are no packages available for installation

This message is displayed whenever Package Control can not find any packages that are installable. The most common reason for this is an HTTP error in downloading package information from the default channel.

To help resolve the issue, follow these steps:

(1) Select the View > Show Console menu entry

(2) Look for any lines starting with Package Control:

(3) Try enabling the debug log for more information

(4) Ensure any proxy information is set in the Package Control settings

(5) If you have a proxy and it rewrites secure connections, add its CA cert as trusted:

Click the Preferences - Browse Packages… menu

Open the User folder

Create a file named Package Control.user-ca-bundle and paste in a PEM-formatted version of the certificate

(6) Make sure you have the latest version of Package Control installed: 3.3.0

(7) If you are still having trouble, review the open issues. If you do not find a relevant issue, please open a new one, and be sure to include your debug log.

2.Purging and Reinstalling

Many users run into issues with Package Control because they have an old, broken or pre-release version of Package Control that has become stuck. Since Package Control updates itself, a bug can prevent the automatic upgrade from working, leaving users orphaned on an old version.

The first step in debugging issues with Package Control is to purge any existing copies.

(1) Select the Preferences > Settings – User menu entry

(2) Remove "Package Control" from the "ignored_packages" setting, if present

(3) Select the Preferences > Browse Packages… menu entry

(4) Delete the folder named Package Control

Browse up a folder and then into Installed Packages

Delete Package Control.sublime-package if it exists

Reinstall Package Control using the installation instructions

Enabling the Debug Log

If purging and reinstalling did not help resolve an issue, the next step is to enable the debug log. The debug log contains extensive information about what Package Control is doing behind the scenes, and can help to diagnose why it isn’t working properly.

Click the Preferences menu

Select Package Settings

Choose Package Control

Click Settings - User

Add the setting "debug": true

Save the settings file

Now when performing actions with Package Control, debug information will be printed to the Sublime Text console. The console can be opened by pressing ctrl+` or using the View > Show Console menu entry.

Windows Errors 12029 and 12057

On Windows, Package Control utilizes the WinINet C++ API for web requests. This allows Package Control to rely on your OS for auto-configuration of proxies and secure certificate validation.

Unfortunately there are a couple of common WinINet errors that users run into, including:

Connection refused (errno 12029) during HTTP write phase of downloading

Error checking for server certificate revocation (errno 12057) during HTTP write phase of downloading

Since WinINet is a system API, it is configured through Internet Explorer.

Errno 12029

A number of users have reported success in resolving this issue by resetting the Internet Explorer advanced settings to their default values.

Open Internet Options Restore Advanced Settings

Open Internet Explorer

Click the gear icon

Select Internet Options

Change to the Advanced tab

Click the Reset Advanced Settings button

Scroll down to the Security section of the options

Verify that TLS 1.0, TLS 1.1 and TLS 1.2 are checked

Errno 12057

Some users run into issues trying to check for SSL certificate revocation. This may have to do with a proxy server not properly proxying the requests for the certificate revocation list.

Open Internet Options Restore Advanced Settings

Open Internet Explorer

Click the gear icon

Select Internet Options

Change to the Advanced tab

Scroll down to the Security section of the options

Uncheck the option Check for server certificate revocation*

Restart your machine

This error indicates something on your machine is blocking the connection to the server. It could be any number of different things.

How to install the Package Controller的更多相关文章

  1. How to create Web Deployment Package and install the package

    Create Web Deployment Package To configure settings on the Connection tab In the Publish method drop ...

  2. Curses library not found. Please install appropriate package

    今天安装mysql-5.5.3-m3的时候,报下面的错误: -- Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_ ...

  3. installation - How to install Synaptic Package Manager? - Ask Ubuntu

    installation - How to install Synaptic Package Manager? - Ask Ubuntu How to install Synaptic Package ...

  4. Java问题解决:使用maven install 和 package时出错

    今天在idea中使用maven install 和 package时出现以下问题: [WARNING] The POM for org.apache.maven.plugins:maven-compi ...

  5. [转]Ubuntu Precise - Install youtube-dl package using Quantal repo

    Ubuntu Precise - Install youtube-dl package using Quantal repo Ubuntu Precise 12.04 currently contai ...

  6. pip install GitHub package

    /********************************************************************************* * pip install Git ...

  7. CMake Error: Curses library not found. Please install appropriate package

    编译安装MySQL的时候,出现错误: -- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH) CMake Err ...

  8. npm install WARN package.json not exists

    npm install WARN package.json not exists: D:\ProData\package.json 一.总结 一句话总结: 出现这样的原因一般是没有切换到指定的目录下, ...

  9. dotnet tool install:Failed to install tool package 'ZKEACMS.Publisher': Could not find a part of the path 'C:\Users\Christer\.dotnet\tools\.store\.stage\0qd2mqpa.m45\ZKEACMS.Publisher'

    问题 按照 ZKEACMS 运行命令 dotnet tool install --global ZKEACMS.Publisher 提示 Failed to install tool package ...

随机推荐

  1. ATOM使用的一点心得与技巧——在一个窗口打开多个项目

    atom作为一个后起之秀,我个人是觉得越用越好用.虽然sublimet也很棒,但是在ubuntu里不能使用中文很是恼火.网上关于修复这个bug的办法实在太多了.果断选择省事的atom.虽然比起subl ...

  2. TS 泛型推断好难啊,看看你能写出来不

    前言 最近做东西都在用ts,有时候写比较复杂的功能,如果不熟悉,类型写起来还是挺麻烦的.有这样一个功能,在这里,我们就不以我们现有的业务来举例了,我们还是已Animal举例,来说明场景.通过一个工厂来 ...

  3. 微服务性能分析|Pyroscope 集合 Spring Cloud Pig 的实践分享

    随着微服务体系在生产环境落地,也会伴随着一些问题出现,比如流量过大造成某个微服务应用程序的性能瓶颈.CPU利用率高.或内存泄漏等问题.要找到问题的根本原因,我们通常都会通过日志.进程再结合代码去判断根 ...

  4. C# 使用SIMD向量类型加速浮点数组求和运算(1):使用Vector4、Vector<T>

    作者: 目录 一.缘由 二.使用向量类型 2.1 基本算法 2.2 使用大小固定的向量(如 Vector4) 2.2.1 介绍 2.2.2 用Vector4编写浮点数组求和函数 2.3 使用大小与硬件 ...

  5. Java SE 10 Application Class-Data Sharing 示例

    Java SE 10 Application Class-Data Sharing 示例 作者:Grey 原文地址:Java SE 10 Application Class-Data Sharing ...

  6. OID天下第一 (双指针,LCT,线段树)

    题面 或曰:"笑长天下第一!",OID 喜得合不拢嘴:"哈哈哈哈哈哈--" OneInDark 是天下第一的. OneInDark 给了你一个 n n n 个点 ...

  7. 随机存取文件流--RandomAccessFile

    * RandomAccessFile的使用* 1.RandomAccessFile直接维承于java.Lang.Object类,实现了DataInputDataOutput接口* 2.RandomAc ...

  8. Think PHP 完整的带富文本格式以及图片上传,并且在页面上分页展示

    Think php6.0官网网址:序言 · ThinkPHP6.0完全开发手册 · 看云 (kancloud.cn) 下面是基础配置 第一步:创建TP框架,命名为tp composer create- ...

  9. ansible 003 常用模块

    常用模块 file 模块 管理被控端文件 回显为绿色则,未变更,符合要求 黄色则改变 红色则报错 因为默认值为file,那么文件不存在,报错 改为touch则创建 将state改为directory变 ...

  10. KingbaseES集群管理维护案例之---备库checkpoint分析

    ​ 数据库异常关闭时,数据库关闭时来不及或者没机会做checkpoint,则需要从上一个一致性检查的开始恢复.KingbaseES备机checkpoint是不能产生checkpoint WAL日志条目 ...