How to delete stock apps?

Discussion in 'OS X Yosemite (10.10)' started by AlphaBoy85, Oct 23, 2014.

  1. AlphaBoy85 macrumors regular

    Joined:
    Mar 25, 2008
    Location:
    Earth.
    #1
    Like Safari for example? The command "sudo rm -rf Safari.app/" does not work any more.

    Thanks!
     
  2. Bruno09 macrumors 68020

    Joined:
    Aug 24, 2013
    Location:
    Far from here
    #3
    It does work (verified).

    Code:
    sudo rm -rf /Applications/Safari.app
    Copy and paste the command, do not type it yourself.

    You need to be in an admin account.

    Of course the deleted application will be... deleted.
     
  3. jbarley macrumors 68030

    jbarley

    Joined:
    Jul 1, 2006
    Location:
    Vancouver Island
    #4
    I just type
    sudo rm -rf
    followed by a space, and then drag the application from the Finder to complete the Terminal input line.

    using this method I usually delete half a dozen or so default Apple applications like Chess, Game centre etc.
     
  4. grahamperrin macrumors 601

    grahamperrin

    Joined:
    Jun 8, 2007
    #5
    Discouraging removal of apps that are integral to the operating system

    It is possible to remove apps that are normally part of the system but I can't recommend doing so.

    Concerning Launchpad, for example:

    – I assume that similarly, at least one core service refers to /Applications/Launchpad.app … and so on.
     
  5. w0lf macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #6
    This is generally not a good idea. I would recommend hiding them instead.

    Code:
    sudo chflags -h hidden "/path/to/app"
    
    The reason your command didn't work is likely because you left out '/Applications/'

    You can even do a bunch of apps at once by just adding more stuff on after the first one with a space.

    Example:

    Code:
    cd /Applications; sudo chflags -h hidden Chess.app Safari.app Launchpad.app Reminders.app
    
    To unhide them is then simple just use nohidden instead of hidden

    Code:
    cd /Applications; sudo chflags -h nohidden Chess.app Safari.app Launchpad.app Reminders.app
    
     
  6. 0x100, Dec 8, 2014
    Last edited: Dec 5, 2016

    0x100 macrumors regular

    0x100

    Joined:
    Nov 11, 2014
    Location:
    Japan

Share This Page