What is /Library/StagedExtensions for and how to remove extensions

Pinco Pallino picture Pinco Pallino · Oct 3, 2017 · Viewed 39.1k times · Source

I'm trying to uninstall Parallels completely from macOS High Sierra. I removed everything from the disk except some Parallels extensions that are stored under /Library/StagedExtensions/Parallel Desktop.app

I think the location has to do with user approved extensions, but I'd like to find a way to remove/uninstall those too. If I try to delete the extensions it says operation not permitted despite the root rights.

Any idea?

Answer

hrishikesh chaudhari picture hrishikesh chaudhari · Nov 20, 2018

There is new way to clear the StageExtensions folder as following

sudo kextcache --clear-staging

This command will clear the /Library/StageExtensions folder. We dont need to go to recovery mode and delete manually this folder in case there are some permission errors while installing software.