If you’re struggling to uninstall an app using the ‘sudo rm -rf’ Terminal command on your Mac, this guide provides quick solutions.
While dragging an app to the trash or using Command + Delete is the simplest method, it often leaves residual files on your Mac. To ensure a thorough uninstallation without leftovers, many users turn to the Terminal route, known for its effectiveness.
Problem
Despite its technical nature, the Terminal method guarantees a clean removal. However, some users are currently facing challenges. Even after granting administrative privileges and restarting, the ‘sudo rm -rf’ command remains ineffective. If you’re encountering this issue, follow this guide for a resolution.
Solution: Enable Full Disk Access
If the Terminal struggles to uninstall apps, it might lack full disk access. Follow these steps to grant the necessary permission and ensure smooth app removal:
- Launch System Settings and navigate to Privacy and Security.
- Access Full Disk Access and toggle it on for Terminal.
- Open Terminal from Launchpad > Others or Finder > Application.
- Enter the following command [with a space after it]: sudo rm -rf
- Drag and drop the desired app next to the command, then press Enter.
- Enter your password when prompted, and the app will be uninstalled.
These straightforward steps resolve the issue of the ‘sudo rm -rf’ Terminal command being unable to uninstall apps on Mac. For any questions about these steps, feel free to comment. We’ll promptly provide a solution.
Read more: How Do i Uninstall, Remove, Delete Software Apps Programs on macOS?