Monday, October 22, 2012

Uninstalling Applications in Mac OS X / To manually remove an application and all associated files

http://guides.macrumors.com/Uninstalling_Applications_in_Mac_OS_X

Uninstalling applications in Mac OS X is very different than uninstalling in a Microsoft Windows environment because Mac OS X has nothing like the Windows Registry. While most Windows programs include an uninstaller that can be run through using the Add/Remove Programs control panel, no such feature exists in Mac OS X and so most users simply move application bundles (see below) to the Trash. However, often times there is more to uninstalling than a simple drag-and-drop to the trash. This article will guide you on how to fully uninstall applications.


Application Bundles

Control-click or RIght-click on any application to see if it is a bundle
Enlarge
Control-click or RIght-click on any application to see if it is a bundle
Most Mac OS X applications (anything that ends in .app), like Safari and iTunes, are bundles. The application icon you see in Finder (typically the Applications Folder) is usually a special folder itself, made to appear as a single double-clickable file. These "folders" contain all, or at least most, of the files needed to run the application, ie they are self-contained. This means that to uninstall these applications, you only have to drag them to the Trash. If you control-click (or right-click) on an Application icon, and you see "Show Package Contents", then it is a bundle.
[edit]

Additional Files

Applications will leave behind preference files, and sometimes application support files, neither of which are stored in application bundles. Preference files can be safely deleted, but they usually take up negligible disk space — and, if you decide to reinstall the application again later, keeping the preference file means your settings will still be there. They are stored in the Preferences folder within your user's Library folder (~/Library/Preferences), or may also be stored in the system-wide Library located at the root of the system volume (/Library/Preferences/).
Application support files can take up anywhere from a few kilobytes to several gigabytes of space, depending on the application installed. Examples of applications that have large support files are multimedia programs such as Garageband and DVD Studio Pro. They are located in the Application Support folder within your user's Library folder, or in "/Library/Application Support/".
To remove an application's icon from the dock make sure that the program is not running at the time, then simply drag the icon off of the dock and let go. There will be a puff of smoke animation and the icon will be gone. This will only remove the dock icon/shortcut, and will not touch the application itself or any of its support files.
[edit]

Using Finder to remove Application Bundles and Additional Files

Using Finder to remove applications and all preference files
Enlarge
Using Finder to remove applications and all preference files
Adapted from a forum post by GGJstudios
To manually remove an application and all associated files:
  • Launch Activity Monitor and change "My Processes" at the top to "All Processes", then make sure the app you want to remove is not running. If it is, quit the process before proceeding.
  • Launch Finder and search for the app name (hopefully unique, such as Skype)
  • You can narrow the search to specific folders or search your whole Mac
  • Searching "File Name" vs "Contents" usually provides better results.
  • Click the + button below the search term to add criteria
  • Click the search criteria drop-down and select "Other...", then "System files"
  • Click the "don't include" and change to "include"
  • Sort by name, kind, date, etc. to identify components of the app, such as folders, .plist files, cache files. etc.
  • Delete all files and folders related to the app.
  • Don't empty your Trash until you've determined that everything is working OK, in case you need to restore something you deleted by accident.
  • A reboot might be necessary to completely remove some apps.
[edit]

Applications with Installers/Uninstallers

If you ran an installer to install an application, you may wish to try running the installation program again to see if an uninstall option is available at any point during installation (many times in a drop-down menu). Check the installation CD or disk image for the original installer file. Some vendors have included simple Perl scripts that will run in the command line to uninstall applications, and may be named "uninstaller.pl".
[edit]

Third Party Uninstallers

Be aware that third party uninstallers, including those listed below, do not completely remove all files/folders associated with apps. Many will remove small files, such as .plist files, but leave behind much larger files. For more information, read this. For complete removal of all files/folders associated with uninstalled apps, use Finder and the manual method described above.
Caution is advised when using any automated method of deleting files, as such methods could result in files being deleted that you didn't want deleted. Many have reported problems caused by the use of apps like CleanMyMac and MacKeeper, so avoidance of these apps altogether may be wise.
Third party uninstallers exist which will search for these preference files for you, such as AppCleaner, AppTrap, AppZapper, CleanApp and TrashMe, but these apps will not remove all components of installed apps.


To manually remove an application and all associated files:



To manually remove an application and all associated files:
  1. Launch Activity Monitor and change "My Processes" at the top to "All Processes", then make sure the app you want to remove is not running. If it is, quit the process before proceeding.
  2. Launch Finder (see image below) and search your entire hard drive for the app name (hopefully unique, such as Skype)
  3. In Finder, select View > "as List", if you haven't already done so. Do not use "as Icons" for this procedure.
  4. You can narrow the search to specific folders or search your whole Mac, which is preferred
  5. In Snow Leopard and earlier, click "File Name" instead of "Contents" for better results.
    In Lion and later, click the + button below the search term, then select "Name" "Contains" and enter the app name. (see image)
    Click image for larger version

Name: Name Contains.png
Views: 417
Size: 51.8 KB
ID: 357383
  6. Click the + button below the search term to add criteria, then click the search criteria drop-down and select "Other...", then "System files"
  7. Click the "aren't included" and change to "are included"
  8. Sort by name, kind, date, etc. to identify components of the app, such as folders, .plist files, cache files. etc.
  9. Delete all files and folders related to the app.
  10. Don't empty your Trash until you've determined that everything is working OK, in case you need to restore something you deleted by accident.
  11. A reboot might be necessary to completely remove some apps.
Click image for larger version

Name: Fully Delete Apps.png
Views: 4835
Size: 98.0 KB
ID: 338830
Click here to see a video demonstration of this procedure, created by simsaladimbamba.


[edit]

No comments:

Mimmo97 Blog Archive