Homebrew is a package manager that can be used on Linux and Windows Subsystem for Linux (WSL) 2. It installs its own versions of glibc and gcc for older Linux distributions. The installation script installs Homebrew to /home/linuxbrew/.linuxbrew using sudo, and afterward, Homebrew does not use sudo. It is recommended to install Homebrew in the default prefix for better user experience. Some of the installation steps include adding Homebrew to your PATH and bash shell rcfile. Homebrew can be installed on ARM platforms, but they lack binary packages. WSL 1 may have issues running executables installed by Homebrew, and it is recommended to switch to WSL 2.
2 Comments
Sort: