How to install the Package Controller
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.
最新文章
- Eclipse插件checkstyle安装使用
- jS事件:target与currentTarget区别
- [渣译文] 使用 MVC 5 的 EF6 Code First 入门 系列:为ASP.NET MVC应用程序实现继承
- as3基础知识
- 分享web前端七款HTML5 Loading动画特效集锦
- ADO.NET EF实体框架
- Oracle默认的用户名和密码
- fedora 取消自动升级
- 常用的js代码
- 网页布局只mian部分左右固定,中间部分自适应
- NTOPNG,用来平时优化网站性能,用处大的
- Log4net 列
- 内存管理pbuf.h头文件源码解析——LwIP学习
- UESTC_基爷与加法等式 2015 UESTC Training for Search Algorithm &; String<;Problem C>;
- linux 版本控制及rpm打包
- SpringMVC架构的项目,js,css等静态文件导入有问题
- 【Unity Shaders】Diffuse Shading——使用2D ramp texture来创建一个假的BRDF(双向反射分布函数)
- [ABP] ASP.NET Zero 5.6.0 之 破解日志
- 省钱版----查找 IoT 设备TTL线序__未完待续
- RabbitMQ详解(三)------RabbitMQ的五种模式