Ubuntu Install and Uninstall brew

Source: Internet
Author: User
Tags curl

Website: http://linuxbrew.sh/

First, Installation:

Cannot run under root

-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 the 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.

To set the path:

$PATH = "/home/ubuntu/.linuxbrew/bin: $PATH"

Second, uninstall:

$/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/

wish to remove them yourself.

You need to manually delete the folder:

$RM-R-f/home/ubuntu/.linuxbrew

Ubuntu Install and Uninstall brew

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.