Uninstalling programs

Posted:
in macOS edited January 2014
I'm a recent PC-to-Mac convert, and I'm not sure I'm figuring out the whole uninstallation thing. First, I'll recap on how the PC does it, and then ask if what I'm doing on my iBook G4 is right.



So when you install a program on a PC, it dumps files and crap EVERYWHERE on your hard drive. That's why it is necessary to have uninstallers, because they *supposedly* know where everything is and how to remove it safely.



HOWEVER, on my mac, many of the programs I've downloaded (i.e. poisoned) tend to not even have an uninstaller that I can find, or even a directory of files in the applications folder. So I've been just deleting the programs and any associated folders, because I think they don't have an uninstaller.



Is it really just this simple?



Thomas
«13

Comments

  • Reply 1 of 58
    edit: I have posted a web page with these same instructions.

    See Uninstalling Apps on Mac OS X.




    Yup, it's really THAT simple.



    Mac OS X differs from Windows in how applications work on a couple of levels.



    For one, Mac OS X doesn't have a registry. There's nothing even closely analogous to it. Applications do not have to register their location or anything like that to work. Application settings and preferences are stored individually per app as "Property List" files in the user's Library/Preferences folder. Sometimes apps may keep additional support files in the user's Library folder, but these are completely inert. They are only accessed by the parent app itself.



    Second, Mac OS X apps are almost *always* stored in what Apple calls "bundles" or "packages". The user never sees any more to the app than just the icon itself (unless he intentionally starts digging around for info). That icon for the application is actually a special type of folder, but the system treats it as a single whole application. Inside that bundle icon, applications store everything from the executable code to graphics, sounds, icons, interface files, multiple language support files, and any additional resources the app may need. This eliminated the confusion and danger of storing other essential data files that are part of the app anywhere else on the drive. Now, everything the app needs to run is tucked nicely away within the app's icon itself.



    (If you're curious about this, take any app like iTunes or Safari, control-click or right-click it, and choose Show Package Contents. Feel free to peek around in the app. Just be sure not to change anything unless you know what you're doing!)



    The best way I have found of explaining the difference between uninstalling apps on a Mac versus on Windows is by showing how to uninstall Internet Explorer from a Mac. Here's a video detailing the process:



    http://brad.project-think.com/movies/uninstalling.mov (~835 KB)



    Try doing that with IE on a Windows machine.



    The only things an app may leave behind after you've trashed it are its preferences and support files in one of the Library folders. However, as I mentioned above, this will not impact your system's performance with the exception of taking up a small bit of hard drive space. These files are inert and will not affect other programs or the system software itself. In the top-level Library are support files that would affect all users. In your home Library folder are the support files that affect only your user.



    In the Library's Preferences folder is where most apps will stick their single preference file. The names of these files may be intimidating at first, but they're all logically done. An example:



    com.apple.AddressBook.plist



    The first part is like an internet address's ".com"; this example is from a business. Other common ones are org and country codes like uk or de. The second part is the software maker's name. The third is the software's title. The fourth is the filename extension, showing that this is a "Property List" file.



    I usually leave any Library files where they are in case I ever decide to reinstall that program. Keeping them does no harm to the system and gives me the added benefit that the program will remember its settings if I reinstall later.



    So, in summary: No registry mess, no "dll hell", no hidden files strewn across your drive. Just drag to the trash and be done with it.
  • Reply 2 of 58
    I should app that on occasions there is the very rare software title that likes to install things in other places across the drive (Norton Utilities is an example). In cases like this, the installer should include either an uninstaller or other instructions on removing it. Alternatively, some apps use "installers" when they really aren't necessary and you can just delete the app itself because nothing was installed anywhere else.



    I'd venture to say that literally as much as 99% of Mac software doesn't need an uninstaller. Apps that truly need a special uninstall process are in the extreme minority.
  • Reply 3 of 58
    torifiletorifile Posts: 4,024member
    Perhaps a sticky on this topic would be apropos? It seems to come up with great regularity. Brad, maybe you can put your little movie up on the AI server so that it doesn't disappear if you decide to clean house?
  • Reply 4 of 58
    Quote:

    Originally posted by torifile

    Perhaps a sticky on this topic would be apropos? It seems to come up with great regularity. Brad, maybe you can put your little movie up on the AI server so that it doesn't disappear if you decide to clean house?



    I was gonna say... brad, do you keep a copy of your above post as an rtf somewhere? Or do you really type it out anew every few days
  • Reply 5 of 58
    Sticky time!



    Yeah, I have been answering this question quite frequently these days. It's enough, in fact, that I've even made my own web page "Uninstalling Apps on Mac OS X" from which I can copy-and-paste information or just as a place I can send new users like Thomas.



    Don't worry about the movie file going anywhere. I keep local copies of anything important that I put on my web server.
  • Reply 6 of 58
    Thanks Brad!



    I mean, It's sort of weird. I know how to navigate my way out of .dll hell. I understand how to search the registry and remove all of those horrible files!



    It's refreshing to know that I don't even need to do that now.



    Maybe formatting and reloading will be just that simple.



    Thomas
  • Reply 7 of 58
    steve666steve666 Posts: 2,600member
    I have a way to uninstall. For instance i wanted to uninstall AOL then reinstall it.

    I just trashed the app, then used Find File and typed in AOL and everything that showed up I trashed.
  • Reply 8 of 58
    It's worth knowing that chances are, the application's created a preferences file in "(Your Home Folder)/Library/Preferences". Mind you, the sizes of these preference files is quite small -- about 4k or so per file, but it's still a good idea to make sure that your preferences folder is clean and free of any extraneous junk.



    You can catch them by just doing a finder search for the application's name, highlighting everything you see in the results, and pressing Command-Delete, as Steve666 pointed out.
  • Reply 9 of 58
    moogsmoogs Posts: 4,296member
    With any app I'm getting rid of, the first thing I do is move the app to the trash, and then I check three places for possible straggler files



    Drive / Library / Application Support



    Home / Library / Application Support



    Home / Library / Preferences



    For commercial apps, there can be one or two files floating about, or a single folder to add to the trash. Then, just delete and you're done. MS of course, breaks from this convention and stores crap in a fourth location (Home / Documents / MS User Data). Mo-rons. Another exception is Unsanity stuff. I always "uninstall" the last version before installing the new version, but that uninstall basically does exactly what is noted above....



    Now if only font management were even easier than the above (like it should be), we'd be all set. Although FontBook gets most users to that point I realize.
  • Reply 10 of 58
    Thanks guys!



    If I EVER tried searching for x application and highlighting everything that came up and deleting it, I would be toast on my windows box.



    It's good to know that I can just do that. No shared files, nothing. I love it.



    Thanks!

    Thomas
  • Reply 11 of 58
    kickahakickaha Posts: 8,760member
    ...with one caveat.



    Frameworks are the MacOS X equivalent of DLLs. In other words, better.



    No, seriously, they provide a strong method for getting around/fixing that versioning hell DLLs seem to end up in, and can be used by several apps at once. However, when that happens you'll rarely find the framework named after the app you're trying to delete - possibly named after the company that produced them all, but that's about it. And they are *rare* to find outside third party application bundles... but I thought I'd at least mention them.
  • Reply 12 of 58
    torifiletorifile Posts: 4,024member
    Quote:

    Originally posted by Kickaha

    ...with one caveat.



    Frameworks are the MacOS X equivalent of DLLs. In other words, better.



    No, seriously, they provide a strong method for getting around/fixing that versioning hell DLLs seem to end up in, and can be used by several apps at once. However, when that happens you'll rarely find the framework named after the app you're trying to delete - possibly named after the company that produced them all, but that's about it. And they are *rare* to find outside third party application bundles... but I thought I'd at least mention them.




    Good point, kick. The safest way to delete a program is to just drag it to the trash. If you want to more spring cleaning, searching through *your* home folder is the way to go. If you get outside your home folder and into /Library or (god-forbid and shoot the developers) /System, proceed with caution.



    You can prevent this from happening by clicking on your home folder in the finder sidebar and entering your search in the toolbar and search selection. This way you can be sure only safe files show up.
  • Reply 13 of 58
    homhom Posts: 1,098member
    Am I having Deja Vu? I could have sworn that I posted a link to Desinstaller which will uninstall any apps that are installed via the .pkg file. It can also recreate the .pgk for later use if you've deleted the original.
  • Reply 14 of 58
    jwilljwill Posts: 209member
    There are apps that can check your preferences folder for files that are no longer being used (deleted programs). I think it was called PrefsOverload or something like that? I never personally used it, but it could be given a shot.



    Uninstallers should be available for things that add more than preference files to your system. Some companies do a great job of uninstallers, and Unsanity is an example. As much as I like dragging a folder to the trash, uninstallers are nice to have.
  • Reply 15 of 58
    torifiletorifile Posts: 4,024member
    Quote:

    Originally posted by jwill

    As much as I like dragging a folder to the trash, uninstallers are nice to have.



    Are they really? We've all been programmed through years of exposure to Windows that applications have to be "uninstalled" to be completely gone. That there's some sort of voodoo and magic that occurs when we reboot our computers to get the ghosts out. Personally I think twice about installing an application that requires an uninstaller or my password to install. Many of my day to day use apps should do NOTHING to my system that requires some sort of intricate uninstall procedure.



    Give me a nicely packaged .app that I can just drag whereever the hell I want it over a an app with a good uninstaller any day.



    This is not Windows. There is no ghost in the machine.
  • Reply 16 of 58
    Quote:

    Originally posted by torifile

    Personally I think twice about installing an application that requires an uninstaller or my password to install. Many of my day to day use apps should do NOTHING to my system that requires some sort of intricate uninstall procedure.



    Same here!



    If I come across some new software title that uses a package or installer, I usually leave it sitting untouched on my desktop for a day or two and then it just goes straight to the trash. I don't trust 'em. If they're package installers, I might just use Pacifist to break them open and to extract the contents manually, but otherwise they're a total waste of electrons and get wiped from my drive.



    For the vast majority of Mac OS X software, there is no excuse for using an installer. It simply is not necessary and it obfuscates the way the system works.



    Quote:

    This is not Windows. There is no ghost in the machine.



    Best quote of the day! Almost good enough to replace my current signature. Almost.
  • Reply 17 of 58
    costiquecostique Posts: 1,084member
    Quote:

    Originally posted by jwill

    Uninstallers should be available for things that add more than preference files to your system.



    Agreed.

    Quote:

    As much as I like dragging a folder to the trash, uninstallers are nice to have.



    If an OS makes you end up needing an uninstaller for every app, it is Windows. There is nothing good in uninstallers.



    In fact, there are several ways of distributing software. Most common are:
    • Disk images. Double-click and drag-n-drop to install. Drag to Trash to uninstall.

    • Archives (.sit, .gz, .tgz, etc). Double-click and drag-n-drop to install. Drag to Trash to uninstall.

    • Apple's Installer (PackageMaker). Double-click to install. Desinstaller/Pacifist to uninstall. If you're brave in CLI, cd into the package, find the *.bom (typically Archive.bom). lsbom is your friend.

    • Aladdin's installers (Installermaker) and Vise installers. Double-click to install. Double-click to uninstall, if the developer included the option.

  • Reply 18 of 58
    a_greera_greer Posts: 4,594member
    Quote:

    Originally posted by torifile





    This is not Windows. There is no ghost in the machine.




    nO KIDDING my mom called aoHELl tech 'support' once in like '97 and they said we couldnt connect because "we had a ghost in our system, he sayd it meant that some unknown problem occoured and it is called a ghost because it is so random, like casper." for a few weeks after that our sad little compaq was called casper





    gotta love aol
  • Reply 19 of 58
    joeyjoey Posts: 236member
    I've always been one of those people that keeps his [Windows] PC as clean as possible. Everytime I'd uninstall something... I'd automatically go and look to see if any folders were left over and delete those... then go into my individual profile and delete any files/folders stuck in there... then run through the registry to get rid of any remaining cra... eh hem... "stuff". Then I got my iBook a few months ago... I'm almost uneasy about how simple removing applications is in X. I still go looking around for little bits and pieces that might be left over. This is another one of those things that, as a PC user, ya just don't get until you actually have a Mac.
  • Reply 20 of 58
    snoopysnoopy Posts: 1,901member
    I haven't paid attention to this thread til now. Sorry for the late post. I had a bad experience with an application that installed a kernel extension. It broke Panther. I had to turn off all but essential extensions, to determine that it was indeed a bad extension, and then delete the offender. These files have the .kext extension.



    Now, when an application has an installer, I look for an uninstaller. If it is there, I save the installer/uninstaller for future needs in a special folder. During installation I watch for the dialog box that asks for administrative permissions. This is a sign to me it plans to install stuff into the system. If an installer asks for such permission and does not provide an uninstaller, it may violate the guidelines set down by Apple. I haven't run into this situation yet, but would proceed with extra caution if I did.



    Maybe someday all developers will do what many do, which is so simple. They tell me to drag the application to the Applications folder. Nice.
Sign In or Register to comment.