Deleting installers on macOS: tips and tricks If the problem is just a temporary bug, the following tips can help. If you get stuck with this, try the instructions under the next subheading. But here are the less extensive tricks:Restart: Shut down the Mac completely and turn it on again. Does the erase work now?Drag the installer to a new folder on the hard drive or to another hard drive and remove it from thereSafe Mode: Start Mac by holding down the Shift key, boot in safe mode and then try to delete the installer.Remove installer with app help: Maybe you can AppCleaner, CleanMyMac X or Trash It! help with emptying the virtual recycle bin?Port-Command: sudo rm -r + "file" - does this command help (with file name or file dragged into the window)?Switch off SIS or SIP: Delete installer by deactivating system integrity protectionSystem integrity protection is not a new feature of macOS 11 Big Sur, but has been active on the Apple Mac since OS X 10.11 El Capitan. The security technology prevents system files and other protected content from being changed unlawfully. Originally developed as protection against malware, in some cases the SIP (System Integrity Protection) can prevent users from changing data, files and folders. Can't delete the Catalina installer from the trash on macOS Big Sur? That can be because of the SIP!If you want to deactivate the Mac System Integrity Protection in order to delete an installer under macOS, the best thing to do is to activate it again after the cleanup. Otherwise you will make your Apple computer more vulnerable. After this hint you can start - this is how it works:Switch off Apple Mac and when switched on cmd + R for recovery mode keep pressed downSelect the terminal in the "macOS Utilities" windowThe command csrutil disable and confirm with Enter to deactivate SIPRestart the Mac (without holding any keys) and delete the installerStart the Mac again in Recovery Mode, select Terminal and the command enable csrutil to activate SIPSystem Integrity Protection (Support document) the error shown may also appear in other versions of Apple's Mac operating system. Since it has been part of the system since OS X El Capitan (2015), other installers in other macOS versions may not be able to be removed without the above steps. This can apply equally to Sierra (2016), High Sierra (2017), Mojave (2018), Catalina (2019) and Big Sur (2020). Do you have any questions, hints, tips or tricks on the subject? Leave your experiences as a comment;)
En het is gelukt!!