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