Jan. 31st, 2008

roadrunnertwice: Me looking up at the camera, wearing big headphones and a striped shirt. (Mischief brewin'!)
Friends, I have read deeply of the secret lore and acquired eldritch powers.

You know those 4 GB of printer drivers that Mac OS X likes to install? You know how some people like to reclaim some of that space and have to delete all those files manually, but it's not really complete since some of them install kernel extensions and stuff and it's hard to track all those down?

sudo pkgutil --verbose --unlink com.apple.pkg.EpsonPrinterDrivers
sudo pkgutil --verbose --forget com.apple.pkg.EpsonPrinterDrivers


Cleans them perfectly, and clears the receipt so you won't have any trouble re-installing from the DVD if you ever need them. This only works on Leopard, and only if the drivers you're deleting aren't un-upgraded holdovers from Tiger. (In which case, you could use the Optional Installs on the DVD to upgrade them, then unlink and forget.)

You can use pkgutil --packages to see all the receipts that pkgutil knows about. If I'm remembering right, the only ones really worth deleting are Epson (a gig and a half on its own), Xerox, Lexmark, HP, Canon, and Brother; the rest take up a piddly amount of space and might as well be left alone unless you're on a real tear.