Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I've installed some software on my Mac, such as R language environment, .djvu file reader, etc.

How do I remove them? There's no "Control Panel -> Add/Remove programs..."

I'm using a Mac Book Pro, but I suppose it's the same on all Macs.

share|improve this question

3 Answers 3

up vote 6 down vote accepted

To get rid of the application, you can just drag it to the trash.

There might be a few leftover files in ~/Library/Application Support/ and ~/Library/Preferences/; there are a few ways of getting there.

  1. You can check by going to the Finder, the "Go" menu, holding down the Option key, and choosing "Library". Just drag those to the trash, too.
  2. Or, you can copy one of the above paths, go to Finder, the "Go" menu, then "Go to Folder" and paste the location.

Find and drag those leftovers to the trash, too.

share|improve this answer
    
so easy! no registry key hazard.. love it! :D –  athos May 2 at 2:47
    
Yeah, that gets rid of most of the stuff. Sometimes they'll leave something in Macintosh HD/Library/Application Support, too, but — especially if you just installed by dragging to /Applications, or via the App Store — ~/Library/Application Support/{appname} will get nearly everything. –  Hawken Rives May 2 at 3:20
    
Not having a registry is a disadvantage, not an advantage. –  Locutus May 2 at 9:09
    
@athos: You would think there is no registry. It's what Apple calls the launch services database, it's not the same but even on Mac after cleaning all the files there are still left overs of applications in this DB after uninstall. It's a huge database where every application ever used, even from external drives and virtual drives like a DMG are all stored permanently in this database until re-installation. Having an editable registry instead of an non editable growing invisible database doesn't sound so bad afterward right? –  dj bazzie wazzie May 2 at 14:10
    
@Locutus: Can you explain why having a registry is an advantage? –  Roberto May 2 at 18:31

I use AppCleaner to uninstall apps and their associated configuration files as well.

However you should always look to see if the application you installed comes with an uninstaller, some of the bigger apps do, and use that first.

share|improve this answer

Please Note: this question is basically a dup of this earlier question

I use a one liner borrowed from a user somewhere else on this site, or related sister site, or from macosxhints (I no longer remember the reference or I'd post a link), that I turned into a script (called "uninstaller") and adjusted slightly by changing the rm command to using a safer command line program installed using macports, rmtrash. The user provided bom receipt file should be in /private/var/db/receipts if the application to be removed was installed using an installer and the dev included one. The script will place all files installed into the user's Trash.

 #!/bin/bash
 #uninstaller /private/var/db/receipts/com.url.name.of.app.bom
 #uninstall os x application installed with installer -pkg
 #using (user) provided bom receipt
 #place all installed files and directories in user's Trash

 lsbom="/usr/bin/lsbom"
 cd="/usr/bin/cd"
 sudo="/usr/bin/sudo"
 xargs="/usr/bin/xargs"
 rmtrash="/opt/local/bin/rmtrash"

 lsbom -fls "$1" | (cd /; sudo xargs rmtrash -u $USER)
 exit

Installing MacPorts and rmtrash is simple enough, however, once xcode (for Mavericks 10.9 xcode_5.1.1.dmg) is installed:

 curl -Ok https://distfiles.macports.org/MacPorts/MacPorts-2.2.1.tar.bz2
 tar xf MacPorts-2.2.1.tar.bz2
 cd MacPorts-2.2.1
 ./configure
 make
 sudo make install #not war!
 cd ..
 rm -rf Macports-*
 sudo /opt/local/bin/port -v selfupdate
 export PATH=$HOME/macports/bin:$HOME/macports/sbin:$PATH
 export MANPATH=$HOME/macports/share/man:$MANPATH
 sudo port -vsc install rmtrash
 diskutil quiet repairPermissions /
share|improve this answer
    
I like this. I really like this. –  Hawken Rives May 2 at 21:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.