Ubuntu安装及卸载brew
Posted 问道编程
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu安装及卸载brew相关的知识,希望对你有一定的参考价值。
网站:http://linuxbrew.sh/
一、安装:
不能在root下运行
$sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
- Add Linuxbrew to your PATH
PATH="/home/ubuntu/.linuxbrew/bin:$PATH"
- We recommend that you install GCC by running:
brew install gcc
- Run `brew help` to get started
- Further documentation:
https://docs.brew.sh
Warning: /home/ubuntu/.linuxbrew/bin is not in your PATH.
设置路径:
$PATH="/home/ubuntu/.linuxbrew/bin:$PATH"
二、卸载:
$/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
The following possible Homebrew files were not deleted:
/home/ubuntu/.linuxbrew/share/
/home/ubuntu/.linuxbrew/etc/
/home/ubuntu/.linuxbrew/lib/
/home/ubuntu/.linuxbrew/var/
You may wish to remove them yourself.
需要手动删除文件夹:
$rm -r -f /home/ubuntu/.linuxbrew
以上是关于Ubuntu安装及卸载brew的主要内容,如果未能解决你的问题,请参考以下文章
续:纠正:ubuntu7.04可以安装,而且完美的安装 ! for《Oracle-10.2.0.1,打补丁10.2.0.5:在 debian 版本4不含4以上,及 ubuntu 7.04不含(代码片段