Install Homebrew Package Manager on Linux
#Homebrew #PackageManager #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0811.html
--------------------------------------------------------------------
What is Homebrew?
--------------------------------------------------------------------
[Homebrew is a] package manager for macOS or Linux. - https://brew.sh/
01. Log into the Linux device
02. Run the following commands in a terminal
# update software repositories
sudo apt update
# install prerequisite packages
sudo apt install build-essential procps curl file git -y
# download and execute the brew installer
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# press enter when prompted to continue
# copy homebrew to system path
test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
test -r ~/.bash_profile && echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" ≫≫ ~/.bash_profile
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" ≫≫ ~/.profile
03. Homebrew is now installed and ready to be used
04. To test Homebrew, continue with the following commands in the terminal
# install the hello formulae
brew install hello
# run hello
hello
Source: https://docs.brew.sh/Homebrew-on-Linux
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro