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. 带你徒手完成基于MindSpore的CycleGAN实现

    摘要:CycleGAN图像翻译模型,由两个生成网络和两个判别网络组成,通过非成对的图片将某一类图片转换成另外一类图片,可用于风格迁移 本文分享自华为云社区<基于MindSpore的CycleGA ...

  2. C++ 添加程序图标到我的电脑

    C++ 像我的电脑中 百度网盘的 那图标快捷方式.如何生成的呢?设置程序图标到我的电脑 请看下边代码 就ok了(*^__^*) 嘻嘻-- 类似下图: 大家如果看我下边的不是很清楚,可以下载这个具体工程 ...

  3. 浅拷贝工具类,快速将实体类属性值复制给VO

    /** * 浅拷贝的工具类 */ public class PropertiesUtil { /** * 两个类,属性名一样的元素,复制成员. */ public static void copy(O ...

  4. docker的volume和bind mount究竟有什么区别?

    不知道你在使用docker的时候,有没有注意到volume mount和bind mount的使用? 进一步说,他们之间的区别到底是什么? 接下来的内容,我们就为你揭开他们的神秘面纱. 相同之处 首先 ...

  5. axios请求响应拦截器的应用

    什么是axios拦截器? 一般在使用axios时,会用到拦截器的功能,一般分为两种:请求拦截器.响应拦截器. 请求拦截器在请求发送前进行必要操作处理 例如添加统一cookie.请求体加验证.设置请求头 ...

  6. 01_Linux基础-部署-VMware-Xshell-Xftp-内核-安迪比尔定理

    01_Linux基础-部署-VMware-Xshell-Xftp-内核-安迪比尔定理 博客:https://blog.csdn.net/cpen_web CentOS开源 免费 --- CentOS是 ...

  7. 第六章 部署node运算节点服务

    一.部署Kubelet 1.1 集群规划 主机名 角色 IP hdss7-21 kubelet 10.4.7.21 hdss7-22 kubelet 10.4.7.22 注意:部署以10.4.7.21 ...

  8. Apache开启目录浏览功能的正确姿势

    部分代码是抄的网友的,哪儿抄的忘了,我是自己修改了点,并非我本人原创,觉得侵权联系我,立马删 在宝塔面板中,打开网站的设置,在配置文件那里添加如下内容 Directory "文件绝对路径&q ...

  9. 使用 EFKLK 搭建 Kubernetes 日志收集工具栈

    转载自:https://mp.weixin.qq.com/s?__biz=MzU4MjQ0MTU4Ng==&mid=2247491992&idx=1&sn=a770252759 ...

  10. Beats:Beats在Kibana中的集中管理

    我们可以通过在命令行中对我们的Beats进行管理,比如我们可以启动metric几个模块,我们可以通过如下的命令来执行: ./metricbeat modules enable apache mysql ...