zoukankan      html  css  js  c++  java
  • 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

    问道,问道,道法自然,编程亦然。 作者:问道编程 浏览本文,如有些许收获,请点击推荐。 本站使用「署名 4.0 国际」创作共享协议,码字不易,如需转载或引用,需在文章明显位置注明作者及本文链接。
  • 相关阅读:
    [Unity3D]UI界面之瞄准镜设置说明
    [Unity3d]游戏中子弹碰撞的处理
    [Unity3D]引擎学习之注意事项(持续更新中)
    [Unity3D]添加音效说明
    [Unity3d]3D项目转换为VR项目(暴风魔镜SDK)
    [Unity3d]调试问题之UI/Image不显示
    [Unity3d]向量的过度方法以及拖尾效果
    [Unity3D]脚本生命周期学习
    windows server 2008 应用程序池自动关闭 C:Windowssystem32RpcProxyRpcProxy.dll failed to load
    create a (VSTO) Office 2007 add-in using VS 2012?
  • 原文地址:https://www.cnblogs.com/wendaobiancheng/p/9042914.html
Copyright © 2011-2022 走看看