Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime 3 error installing package control

I am trying to install package control in Sublime Text editor 3 on Ubuntu 14.04 . I follow simple instruction from https://sublime.wbond.net/installation.

But I get follow error:

Package Control: Error downloading channel. b'curl: (7) Failed to connect to sublime.wbond.net port 443: Network is unreachable' downloading https://sublime.wbond.net/channel.json.
error: Package Control
like image 639
Prashant Khadka Avatar asked Sep 24 '14 10:09

Prashant Khadka


People also ask

How do I enable package control in Sublime Text 3?

Steps for Installing Package Control (Sublime Text 3):Open the Command Palette: Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (OS X). Type 'install' in the Command Palette input box, which should autocomplete to 'Install Package Control. ' Press Enter to select it. Sublime Text 3 will start installing Package Control.

Where is sublime-package control?

Install the Package Control package Go to http://wbond.net/sublime_packages/package_control/installation & copy the long command there. Open the Sublime Text 2 console by pressing Ctrl+`. Paste the command you copied into the Sublime Text console. Press Enter.

How do I enable package control in Sublime Text 4?

Open the Sublime Text command palette by pressing CTRL+Shift+p (Windows, Linux) or CMD+Shift+p (macOS). All Package Control commands begin with “Package Control:”. Start by typing “Package”. Select “Package Control: Install Package”.

How do I see what packages are installed in Sublime Text 3?

First open Package Control from Preferences > Package Control as before. Now click on Package Control: List Packages from the list as marked in the screenshot below. The packages installed on your Sublime Text editor should be listed as you can see from the screenshot below.


2 Answers

Go back to the installation page and follow the instructions in the Manual section:

  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
  4. Restart Sublime Text

This should install Package Control for you without any problems.

EDIT

Please read through this issue here, and follow wbond's instructions to install from git. First, completely quit Sublime, then remove all traces of Package Control - any folders in ~/.config/sublime-text-3/Packages, any files in ~/.config/sublime-text-3/Installed Packages, the folder ~/.config/sublime-text-3/Packages/User/Package Control.cache, and any files in ~/.config/sublime-text-3/Packages/User that start with Package Control.* - Package Control.last-run, Package Control.sublime-settings, Package Control.system-ca-bundle, and anything else you can find.

Next, assuming you have git installed (run sudo apt-get install git if you don't), switch to ~/.config/sublime-text-3/Packages and run

git clone https://github.com/wbond/package_control.git "Package Control"

to clone the master repo (make sure you've completely quit Sublime before running this). Restart Sublime and see if everything installs properly. If not, follow the instructions for creating a debug log, restart Sublime to generate the log, open the Console by selecting View -> Show Console, then copy the entire contents (it'll be a lot) into a new file. Open a new issue and describe exactly what the problem is, including all the details above and the fact that you just installed from the master branch, and paste in the contents of the debug log (make sure you put it in a code block by adding triple backticks ``` before and after). Will Bond (wbond) should get in touch with some suggestions.

Good luck!


Note for users of other operating systems: I'm not sure if this is a Linux-only problem or not, but in case it isn't, Mac users will find Packages and Installed Packages in ~/Library/Application Settings/Sublime Text 3, while Windows users with standard (i.e., non-portable installs) will find them in your user directory under AppData\Roaming\Sublime Text 3. For Windows portable installs, the directories should be in your install directory under Data.

like image 61
MattDMo Avatar answered Sep 26 '22 02:09

MattDMo


For the sublime text version 3126 onward Package Control is disabled by default. Just go to Preferences > Settings and remove Package Control from the ignored_packages setting.

like image 26
Jyotman Singh Avatar answered Sep 27 '22 02:09

Jyotman Singh