*nix fans, specially those who use macOS might be aware that the missing package manager, which Apple didn’t ship along for terminal package management lovers called “Homebrew”. Similarly a package manager for Linux called Linuxbrew as the name suggests is only for Linux and perhaps for macOS as well as both are somewhat *nixes(in my opinion).
Linuxbrew is the fork of Homebrew and you can use it on both Mac OS and Linux. Its usage is pretty much same as Homebrew. Since Linuxbrew will be installed in your home directory, it does not require root access. You can use Linuxbrew to install the packages which are not packaged to your the native distribution. It also allows to install most up-to-date applications and packages.
Linuxbrew needs the following dependencies in your Linux box.
Linuxbrew as of now supports the 64 bit architecture.
Before installing Linuxbrew, make sure the aforementioned dependencies have been installed. If they are not installed already, run the following commands to install them on your Linux system.
Paste at a terminal prompt:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
The installation script installs Linuxbrew to /home/linuxbrew/.linuxbrew
using sudo if possible and in your home directory at ~/.linuxbrew
otherwise. Linuxbrew does not use sudo after installation. Using /home/linuxbrew/.linuxbrew
allows the use of more binary packages (bottles) than installing in your personal home directory.
Follow the Next steps instructions to add Linuxbrew to your PATH
and to your bash shell profile script, either ~/.profile
on Debian/Ubuntu or ~/.bash_profile
on CentOS/Fedora/RedHat.
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
You’re done! Try installing a package:
brew install hello
If you’re using an older distribution of Linux, installing your first package will also install a recent version of glibc
and gcc
. Use brew doctor
to troubleshoot common issues.
sudo apt-get install build-essential curl file git
sudo yum groupinstall 'Development Tools' && sudo yum install curl file git
[via:- Linuxbrew official documentation & website]
This is not an ad-vocation by any means for TP-link branding, however a real life…
First of all we need to hit the kernel version on any Android device. You…
Use resolvectl status instead. It's like something deprecates and suddenly things get broken! In systemd…
Geeky question: This is what people and friends have tried: rsync -arv --exclude "/home/john/.ccache:/home/ben/build" /home/john…
You might encounter this error which appears to be very common on Debian based Distro's…
PS: This article is for only Kali Linux users, that too having a Broadcom Wireless…