2016-03-09

Getting rid of unwanted applications in OSX El Capitan.

Some programs in OSX can be annoying. For example, I generally don't want Photos.app, iTunes, etc to automatically pop up when I connect something to my machine. I don't like the idea of apps phoning home, etc. I don't like the idea of not being able to uninstall apps I don't want. On OSX EL Capitan there is software System Integrity Protection which makes it hard to uninstall some of the pre-loaded applications from Apple. The actual purpose of SIP is reasonable enough: Prevent people from messing with important OS file systems on your machine. These include folders like:
  • /System
  • /usr
  • /bin
  • /sbin
but it also includes pre-loaded software.
System Integrity Protection can be disabled by:
  1. Booting the machine in recovery mode (Command-R at restart till Apple logo)
  2. Then a terminal type:
     csrutil disable
    
  3. Restart To re-enable it, one can follow the same as the above except changing disable to enable . Once you've disabled it, you can do:
     sudo rm -rf /Applications/Photos.app
    
    etc. to get rid of pre-loaded programs you don't want.
Since SIP is generally a good thing you can then boot back into recovery mode to re-enable it.
(Edited: 2016-03-09)
Some programs in OSX can be annoying. For example, I generally don't want Photos.app, iTunes, etc to automatically pop up when I connect something to my machine. I don't like the idea of apps phoning home, etc. I don't like the idea of not being able to uninstall apps I don't want. On OSX EL Capitan there is software [[https://support.apple.com/en-us/HT204899|System Integrity Protection]] which makes it hard to uninstall some of the pre-loaded applications from Apple. The actual purpose of SIP is reasonable enough: Prevent people from messing with important OS file systems on your machine. These include folders like: */System */usr */bin */sbin but it also includes pre-loaded software. System Integrity Protection can be disabled by: # Booting the machine in recovery mode (Command-R at restart till Apple logo) # Then a terminal type: csrutil disable # Restart To re-enable it, one can follow the same as the above except changing '''disable''' to '''enable'''. Once you've disabled it, you can do: sudo rm -rf /Applications/Photos.app etc. to get rid of pre-loaded programs you don't want. Since SIP is generally a good thing you can then boot back into recovery mode to re-enable it.
X