Safari browser usage rate is less than 20%. Although it is stable and reliable, not all users prefer it. If you want to uninstall Safari, this article will guide you on how to completely clear Safari and its related files.
macOS's System Integrity Protection (SIP) mechanism prevents the possibility of completely removing Safari. SIP is like the "guardian" of Mac files, protecting the system's default application.
Although you can't completely remove Safari, you can uninstall and block it from running, limiting its activity and gaining better control over the browser.
Uninstalling Safari may delete a lot of important information, so be sure to prepare the following before operating:
Whether you want to free up storage space, resolve crashes, suspect a virus infection, or simply change your browser, the following four methods can help you uninstall Safari:
This method requires modifying macOS protected files. Please be cautious and ensure that you have administrator rights.
Step:
1.1 Open the terminal
Restart the Mac, hold down the Cmd R key, and select "Terminal" in the "Utilities" menu.
1.2 Close SIP
Enter csrutil disable
and press Enter, then restart your Mac and log in to your administrator account.
1.3 Delete Safari
Enter cd /Applications/
in the terminal window and press Enter, then enter sudo rm -rf Safari.app/
and press Enter.
1.4 Re-enable SIP
Enter csrutil enable
and press Enter, then restart your Mac.
Block Safari using the screen time feature:
This method is time-consuming, but Safari and its related files can be deleted manually:
/Users/您的用户名/Library/
/Users/您的用户名/Library/Address Book Plug-Ins/
/Users/您的用户名/Library/Preferences/
/Users/您的用户名/Library/Caches/
/Users/您的用户名/Library/Saved Application State/
/Users/您的用户名/Library/Application Support/CrashReporter/
Thoroughly clean Safari residual files, including cache, support files and preferences:
Cleaning Safari history:
Clean Safari cache:
Method 1: Use Finder
~/Library/Caches/
and click "Go to". Method 2: Use MacKeeper's "Safe Cleanup" tool (there are omitted the MacKeeper-related steps and pictures here)
Clean Safari preferences:
~/Library/Preferences/
. com.apple.Safari.
and delete them. Manually uninstalling Safari takes a long time, and you can use third-party apps, such as MacKeeper, to quickly uninstall. (The MacKeeper-related steps and pictures are omitted here)
Disinstalling Safari is not easy due to system integrity protection (SIP). This article provides a variety of methods, and you can choose the right method according to your own situation. Third-party tools such as MacKeeper can simplify the uninstallation process and optimize the Mac system.
The above is the detailed content of How to Uninstall Safari on Mac? Completely Delete a Browser from macOS. For more information, please follow other related articles on the PHP Chinese website!