How do I uninstall nodejs installed from pkg (Mac OS X)?

I ran: lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom \ | while read i; do sudo rm /usr/local/${i} done sudo rm -rf /usr/local/lib/node \ /usr/local/lib/node_modules \ /var/db/receipts/org.nodejs.* Coded into gist 2697848 Update It seems the receipts .bom file name may have changed so you may need to replace org.nodejs.pkg.bom with org.nodejs.node.pkg.bom in the above. The gist … Read more

How to unpack and pack pkg file?

Packages are just .xar archives with a different extension and a specified file hierarchy. Unfortunately, part of that file hierarchy is a cpio.gz archive of the actual installables, and usually that’s what you want to edit. And there’s also a Bom file that includes information on the files inside that cpio archive, and a PackageInfo … Read more

Does an universal cross-platform installer exists? [closed]

“Mainstream”: A shared packaging format seems elusive. However, there are a few multi-platform deployment tools available. Installsite.org has a list towards the bottom here. I guess the two most commonly used tools are (both are commercial): Advanced Installer for Java / Advanced Installer Enterprise (Windows and Mac, no Linux) Flexera InstallAnywhere (Windows, Mac, Linux) Extended … Read more