我切换到英文语言下,看到如上图所示。
提示如下
This package is incompatible with this version of macOS and may fail to install.
Installing this package may damage your system, and the installation may fail. To stop the program and the installation, click “Cancel Installation”.
用GG查了一个帖子,说是可能是
Reboot your Mac into Recovery Mode by restarting your computer and holding down Command + R Until the Apple logo on your screen Appears.
Click Utilities> Terminal.
In the Terminal window, type in csrutil disable and press Enter.
Restart your Mac.
安全相关的模式叫 SIP(System Integrity Protection ),它禁止让软件以 root 身份来在 Mac 上运行,在升级到 OS X 10.11 中或许你就会看到部分应用程序被禁用了,这些或许是你通过终端或者第三方软件源安装。对于大多数用户来说,这种安全设置很方便,但是也有些开发者或者高级 Mac 用户不需要这样的设置。
今天这个 Mac 技巧就教你如何关闭 Mac SIP 安全设置,不过需要提醒,初级 Mac 用户不要关闭安全设置。
- 重启 Mac,按住 Command+R 键直到 Apple logo 出现,进入 Recovery Mode
- 点击 Utilities > Terminal
- 在 Terminal 中输入 csrutil disable,之后回车
- 重启 Mac
这样 SIP 安全设置就已经被关闭了,如果想重新开启该安全设置,重复上面步骤,在第三步中将命令更换为 csrutil enable。 我试试的,希望可行。
|