Sublime Forum

How to use Package Control without Internet access?

#1

My development machine at work is behind a firewall with no internet access (not even a proxy). How can I use Package Control to install packages manually?
I know some packages are easy enough to download from github and drop them in the right directory, but there are some that don’t work with this simple approach because of details, e.g. platform differences and dependencies that Package Control knows how to go out and fetch on top of the package itself.
I can’t even use the syncing (https://packagecontrol.io/docs/syncing) technique from another machine that does have internet access because the syncing depends on Package Control being able to get the packages from the internet on the sync’ed machine. And not surprisingly, I tried manually just copying my package directories over from my internet-capable machine (Windows) to my behind-the-firewall machine (Linux) and things didn’t work right.
I need to find a cleaner solution.
Thanks!
Michael

0 Likes

#2

Package Control does not function without Internet connection at all.

Your only way is to manually copy or sync packages from a different machine, preferably of the same platform. You’ll need both the “Packages” and the “Installed Packages” directories.

0 Likes

#4

You can create your own repository for packages if you want to update machines using Package Control without the public internet, however, if this is just for a single machine, I don’t know that it would be worth the effort. Read up on channels and repositories –

https://packagecontrol.io/docs/channels_and_repositories

0 Likes