beyondmac.com|comments, answers, etc.

Home Contact About Subscribe(RSS)

The Book:

Buy Mac OS X Leopard: Beyond the Manual from Amazon, or check out the Apress website for more information.

Categories:

Bookmarks:

Powered by WordPress

Package Management in Leopard? | November 18, 2007

Poking around the stuff installed by the latest Leopard 10.5.1 update, I noticed something exciting I hadn’t seen before: pkgutil. This command line tool apparently allows you to finally manage installed packages using a package database (a SQLite database located in /Library/Receipts/db/). At the moment this tool is far from perfect, I’ve noticed some strange data here (inaccurate install paths), plus it seems that the package must be designed to write data to the database, so it currently doesn’t track all packages. One important thing to note: it appears that this tool could be potentially damaging to your system. According to the man page, will allow to remove the files installed by any package without any dependancy checking, so you could really screw yourself with this. (I actually haven’t tried to remove anything myself, so I’m trusting the docs here). Still the existence of this tool is an extremely hopeful sign of real package management on OS X. Check it out with man pkgutil, but use caution.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment