iTunes – How to Delete or Uninstall iTunes on macOS High Sierra

itunesmacosterminal

How can I remove iTunes from my Mac?

I've tried to delete it via Terminal and using the app AppCleaner. No luck.

cd /Applications/
sudo rm -rf iTunes.app/

Results in: Operation not permitted

I also tried to change iTunes.app to "Read Write" for everyone but macOS won't allow me to do that even as root.

Best Answer

I'm pretty sure you have to disable SIP to uninstall pre-installed apps.

System Integrity Protection is a security technology in OS X El Capitan and later that's designed to help prevent potentially malicious software from modifying protected files and folders on your Mac. System Integrity protection restricts the root user account and limits the actions that the root user can perform on protected parts of the Mac operating system.

System Integrity Protection includes protection for these parts of the system:

• Apps that are pre-installed with OS X