Cowardly refusing to `sudo brew install`
2016-04-17 12:14
253 查看
mac下使用
这个主要是因为
PS:其中
brew安装软件的时候出现如下的错误:
Error: Cowardly refusing to `sudo brew install` You can use brew with sudo, but only if the brew executable is owned by root.However, this is both not recommended and completely unsupported so do so at your own risk.
这个主要是因为
brew的权限不够,只需要更改brew命令的权限就可以
chown root:wheel /usr/local/bin/brew
PS:其中
root:staff为用户名和群组,这个根据具体情况确定。
相关文章推荐
- 手把手教你本地安装Chrome应用启动器
- c语言之模拟实现求子串(strstr)函数
- 窥探 Swift 之 函数与闭包的应用实例
- IMF传奇行动第82课:Spark Streaming第一课:案例动手实战并在电光石火间理解其工作原理
- Java集合(六):专用集合和遗留类
- MySQL5.6 Replication主从复制(读写分离) 配置完整版
- 垃圾是放错位置的人才
- DiskGenius Disk Manager
- CodeForces 664A Complicated GCD
- 用纯css改变下拉列表select框的默认样式(转)
- java中的内部类
- iOS入门时常用的一些代码段——tableviewCell重用
- 对web结构的了解
- 对拍
- SQL例子
- [IOS]Core Data Model--Demo3
- 【Win 10 应用开发】三维变换
- 数组的几种简单遍历
- 高德地图显示在fragment中并添加按钮点击事件
- 第八周项目1.3 读入文件,写入文件