It appears Homebrew is already installed. If your intent is to reinstall you should do the followin
来源:互联网 发布:淘宝双11整点抢购技巧 编辑:程序博客网 时间:2024/06/16 08:23
先卸载
首先想要安装的话,就要先把homebrew删除干净,如果没有删除干净,它就会各种报错。。
sudo rm -rf /usr/local/.git
rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew
rm -rf ~/Library/Caches/Homebrew
然后为了防止还没删干净,最好跑到你的/usr/local/Library里面把能看到的带“brew“的都删了。当然代价可能是失去你以前用brew安装的一些东西23333
sudo rm -rf /usr/local/.git
rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew
rm -rf ~/Library/Caches/Homebrew
然后为了防止还没删干净,最好跑到你的/usr/local/Library里面把能看到的带“brew“的都删了。当然代价可能是失去你以前用brew安装的一些东西23333
作者:焊板狂魔西加加
链接:http://www.zhihu.com/question/35928898/answer/66926256
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
再重新安装
* [新分支] master -> origin/master
HEAD 现在位于 eec5059 Merge branch homebrew/master into linuxbrew/master
Warning: /home/xxxxxxxxxxx/.linuxbrew/bin is not in your PATH.
提示brew不再系统路径
vim ~/.profile
追加
export PATH="$HOME/.linuxbrew/bin:$PATH"export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
保存退出
使生效
source ~/.profile
再查看brew就正常了
0 0
- It appears Homebrew is already installed. If your intent is to reinstall you should do the followin
- Spyder is already running. If you want to open a new instance, please pass to it the --new-instance
- 使用水晶报表11.5 问题 is already open. Do you want to close it?
- 安装jre时:This software has already been installed on your computer. Would you like to reinstall”
- “App” is damaged and can’t be opened. You should move it to the Trash.
- It seems that the port 3306 is already in use.aer you sure you want to use this port
- It appears as though you do not have permission to view information for any of the hosts you request
- Your PHP installation appears to be missing the MySQL extension which is require
- Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
- Your PHP installation appears to be missing the MySQL extension which is require
- Your PHP installation appears to be missing the MySQL extension which is require
- What do you think is the most important skill every programmer should posses?(转)
- It is said that wars in the 21st century will be fought over water. Do you agree? What do you think can be done now to alleviate
- Cannot upgrade/downgrade to Dynamic Web Module 3.0 facet. It is incompatibile with already installed
- Error: Android SDK not found. Make sure that it is installed. If it is not at the default location,
- Compiler compliance level of project rams should be 5.0.Your current workspace default is 6.0.Do you
- cocoapods was not able to update the 'master' repo.if it is a unexpected issue and persists you can
- The program 'unzip' is currently not installed. You can install it by typing:
- 数据库里查询山东移动网上营业厅导出的通信明细
- JVM调优总结 -Xms -Xmx -Xmn -Xss
- 配置永久变量
- STL::vector
- 算法设计课程设计--任务时间表问题
- It appears Homebrew is already installed. If your intent is to reinstall you should do the followin
- 字节对齐分析
- Android开发中的assets目录的作用
- 考研复习第9弹
- LeetCode 057 Insert Interval
- HDU1312
- Android如何查看应用签名信息
- jquery延时载入动画焦点图- 有点类似视差动画
- C#表达式和运算符详解