ActiveBlog

Disconnected PPM operations
by Kevin "kj" Woolley

Kevin "kj" Woolley, February 3, 2006

For those times when you really, really can't get online directly, but want the comforts of PPM at your side, there actually is a way to do it. A little talk with Gozer made it all clear. PPM can be...

For those times when you really, really can't get online directly, but want the comforts of PPM at your side, there actually is a way to do it.  A little talk with Gozer made it all clear.

PPM can be convinced to use a local directory as a repository.  So make yourself a directory, and issue the following command from within the PPM shell:

rep add myrepo /path/to/repo-dir

While you're at it, you may as well disable the other repositories, using just a plain rep command to list them, and rep off reponame to disable them.

Next, grab the package database.  The directory for each platform on the PPM server looks like the following:

http://ppm.activestate.com/PPMPackages/5.8-linux/

But of course, replace linux with windows or whatever your platform is.

Inside that directory is a file called package.lst.  Download that file, and put it in the directory you created for your local repository.

Now, start up PPM, and you can search and use the tree command on your private repository.  You can't install anything from it (unless you put the zipfiles for the packages to be installed in there), but it's a great way to use the PPM command even in the lack of a network.

(This post relates to this previous post.)

Subscribe to ActiveState Blogs by Email

Share this post:

About the Author: RSS

kj is ActiveState’s Systems Administrator. He was born in London, Ontario, grew up in North Vancouver, and spent several years in the Northwest Territories doing technical sales. As a technical infrastructure specialist, he brings over twenty years of systems administration experience to ActiveState.

Comments

4 comments for Disconnected PPM operations
Permalink

Whenever i'm trying to open following links it is asking me USER ID & PASSWORD. And I don't have these details. Witout this I cannot open this link.
Please help

http://ppm.activestate.com/PPMPackages/zips/
and
http://ppm.ActiveState.com/PPMPackages/5.6plus/MSWin32-x86-multi-thread/

Permalink

Not sure why this particular post was tweeted recently, but it's quite old and somewhat out of date.

Access to old builds of ActivePerl (and ActivePython, and ActiveTcl) is now limited to Business Edition customers. The current versions of ActivePerl Community Edition are available here:

http://www.activestate.com/activeperl/downloads

If you are a Business Edition customer, please contact support [at] activestate [dot] com for assistance.