Browse > Home / Archive by category 'Operating Systems'

| Subcribe via RSS

Mac OS X : Uninstall applications installed from packages

January 13th, 2010 | No Comments | Posted in Mac OS X, Operating Systems

If you’ve installed an application from a .pkg-type installer, Mac OS X keeps a listing of what was installed in the Library/Receipts folder — either the top-level Library, or your user’s Library. The lsbom command can be used to see this list, and to uninstall the application.

First, find the receipt. It will be in either ~/Library/Receipts or /Library/Receipts, as the name of the package. The actual bom (”bill of materials”) file is located at, for example,
/Library/Receipts/some_app.pkg/Contents/Archive.bom
Use the lsbom command to see what was installed: lsbom -fls /Library/Receipts/some_app.pkg/Contents/Archive.bom You can use this list to manually delete the items installed, or you can feed the list to rm to delete the installed files. Be sure to examine the list of files before trying to remove them — this command will only work if the paths are relative to the root directory (”/”), and I haven’t tried it with names with spaces.
lsbom -fls /Library/Receipts/some_app.pkg/Contents/Archive.bom | (cd /; sudo xargs rm)
This will remove any installed files, though directories must be removed manually

Tags:

Video - Avatar trailer

January 1st, 2010 | No Comments | Posted in Operating Systems

A paraplegic marine dispatched to the moon Pandora on a unique mission becomes torn between following his orders and protecting the world he feels is his home.

Tags:

enable the root super user account in Snow Leopard

December 26th, 2009 | No Comments | Posted in Operating Systems

1.Open Directory Utility in /System/Library/CoreServices/.
2.Click the padlock icon and type in your password.
3.From the Edit menu, select Enable Root User.
4.Select Change Root Password from the Edit menu and type in the new root password.
5.Click the padlock icon to lock the application again.

now you can easy use su -
;)

Tags: