Rosetta 安装在 Mac 上后怎么卸载,他的目录在哪里?

提示安装后我想知道哪里可以卸载它


[经过版主编辑]

发布日期 2023年9月7日 上午6:30

回复
回复量:1

2023年9月8日 下午7:35 回应 愤怒小猪崽

愤怒小猪崽,你好!


我为你翻译了一下英文技术文稿,有些终端代码你需要参考英文原版:

如果您需要卸载Rosetta 2,请按照以下步骤操作:

  1. 关闭你的Mac。
  2. 按住电源按钮,直到出现启动选项。
  3. 单击选项>继续。
  4. 选择您的帐户并输入您的密码。
  5. 单击实用程序>终端。
  6. 复制并粘贴以下命令,然后按Enter键在Mac上禁用SIP
  7. csrutil禁用
  8. 输入您的用户名和密码。
  9. 单击苹果标志,然后选择重新启动。
  10. 从启动台>其他打开终端。
  11. 复制并粘贴以下命令,然后按Enter键获取需要删除的文件、目录和LaunchAgents列表。
  12. pkgutil --files com.apple.pkg.RosettaUpdateAuto
  13. 打开Finder,然后单击Go > Go to Folder。
  14. 输入/Library/Apple/usr/,然后按Enter键。
  15. 导航到/Library/Apple/usr/lib/libRosettaAot.dylib,右键单击它并选择“移动到废纸篓”。
  16. 输入您的密码,然后按确定。
  17. 导航到/Library/Apple/usr/libexec/Library/Apple/usr/share/rosetta,也删除这两个文件夹。
  18. 清空你的垃圾。
  19. 重复步骤1到5。
  20. 执行以下命令,在Mac上重新启用SIP。


以下是英文原版:

If you need to uninstall Rosetta 2, follow these steps:

  1. Shut down your Mac.
  2. Press and hold the power button until the startup options appear.
  3. Click Options > Continue.
  4. Select your account and enter your password.
  5. Click Utilities > Terminal.
  6. Copy and paste the command below, and press Enter to disable SIP on your Mac.
  7. csrutil disable
  8. Type in your username and password.
  9. Click the Apple logo and choose Restart.
  10. Open Terminal from Launchpad > Other.
  11. Copy and paste the command below, and press Enter to obtain a list of files, directories, and LaunchAgents you need to delete.
  12. pkgutil --files com.apple.pkg.RosettaUpdateAuto
  13. Open Finder and click Go > Go to Folder.
  14. Input /Library/Apple/usr/ and hit Enter.
  15. Navigate to /Library/Apple/usr/lib/libRosettaAot.dylib, right-click on it and choose Move to Trash.
  16. Enter your password and press OK.
  17. Navigate to /Library/Apple/usr/libexec and /Library/Apple/usr/share/rosetta, delete these two folders as well.
  18. Empty your Trash.
  19. Repeat steps 1 to 5.
  20. Execute the command below to re-enable SIP on Mac.
  21. csrutil enable


来自 https://iboysoft.com/news/uninstall-rosetta-2.html


若以上文档未能解决您的问题,请联系 Apple 支持来获得更多协助。请点击以下链接,选择“Apple ID”:https://getsupport.apple.com


希望可以帮助到你,谢谢!


[图像经过版主编辑]



这个主题已被系统或社区团队关闭。 你可以为你认为有帮助的任何帖子投票,也可以在社区中搜索其他答案。

Rosetta 安装在 Mac 上后怎么卸载,他的目录在哪里?

欢迎来到 Apple 支持社区
Apple 客户在其产品方面互相帮助的论坛。使用您的 Apple 帐户开始畅游其中吧!!