

Sudo yum groupinstall 'Development Tools'

Sudo apt-get install build-essential curl file gitįor RedHat, Fedora, CentOS or other same kinds of Linux OS I am sure you already on 64-bit CPU which is common nowadays, for the rest of things use the below commands as per your system.įor Debian, Linux Mint, Ubuntu or other similar OS To set up Brew we need to have the following things on our system- GCC, Glibc, and 64-bit x86_64 CPU.

RedHat or CentOS based: sudo yum update Step 2: Install Brew Dependencies Ubuntu & Debian based systems: sudo apt update Step 1: Open Terminal and run system update command:Īccording to your Linux distro on Desktop or server run the system update command, here we will let you know for the most common ones. Note: To use it on the Windows subsystem for Linux first set it up using this Ubuntu WSL tutorial. To make it simple, just like we have apt and yum for Linux to install different packages in the same way, Homebrew will install and manage software packages in a unified way along with the dependencies needed by the packages, without worrying about the storage location and so on. It installs the package into a separate directory and soft links its files to /usr/local. How to uninstall Homebrew from system HomeBrew installation on Linux or WSL
