Help! I don't care what happens or any consequences! I just want to completely remove Safari from my Mac!
I've already downloaded the latest version of Safari from Apple.com
- Quit Safari and Restart
- Open Terminal
- Type: cd /Applications/
- Type: sudo rm -R Safari.app
- Enter your password
- Type: cd /private/var/db/receipts/
- Type: ls -al
- Make note of the Safari BOM's
- Remove them One by one Typeing: sudo pkgutil --forget PkgNameHere (ex: sudo pkgutil --forget com.apple.pkg.Safari)
I'm sure there are other files, but this should be most of them.
- ~/Library/Safari/
- ~/Library/Application\ Support/Safari/
- ~/Library/PubSub/
- ~/Library/Cookies/
- ~/Library/Favorites/
- ~/Library/Caches/com.apple.Safari/
- ~/Library/Caches/com.apple.PubSubAgent/
- ~/Library/Caches/WebProcess/
- ~/Library/Caches/Safari\ Webpage\ Preview\ Fetcher/
- ~/Library/Caches/Metadata/Safari/
- ~/Library/Saved\ Application\ State/com.apple.safari.savedState/
- ~/Library/Preferences/com.apple.PubSubAgent.plist
- ~/Library/Preferences/com.apple.Safari.RSS.plist
- ~/Library/Preferences/com.apple.Safari.plist
- ~/Library/Preferences/com.apple.WebKit.PluginHost.plist
- ~/Library/Preferences/com.apple.WebKit.PluginProcess.plist
This will download the Safari 5.1.1 to your Downloads folder and then you can install it (Remember to repair disk permissions afterwards).
- Open up Terminal
- Type: cd ~/Downloads
- Type: curl -O "http://appldnld.apple.com/Safari5/041-2421.20111012.Mxtov/Safari5.1.1Lion.dmg"
*popcorn*
this will not end well.
Why not just not use it?
Actually, it's not thorough at all. In most cases, app removal software doesn't do a thorough job of finding and removing files/folders related to deleted apps. For more information, read this.Drag and drop it into AppCleaner. It does a pretty thorough job if you are scared of the command line.
Thank you very much for your help, I followed your instructions and I was able to remove Safari from my Mac.