- Developer Tools
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:
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.)