码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu安装及卸载brew

时间:2018-05-15 22:45:42      阅读:3375      评论:0      收藏:0      [点我收藏+]

标签:remove   url   .com   brew   https   get   /etc/   AC   war   

网站: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

标签:remove   url   .com   brew   https   get   /etc/   AC   war   

原文地址:https://www.cnblogs.com/wendaobiancheng/p/9042914.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!