The prefix /home/linuxbrew/.linuxbrew was chosen so that users without admin access can ask an admin to create a linuxbrew role account and still benefit from precompiled binaries. If you decide to use another prefix: don’t open any issues, even if you think they are unrelated to your prefix choice. The main reason Homebrew just works is because we use bottles (binary packages) and most of these require using the default prefix. Building from source is slow, energy-inefficient, buggy and unsupported. Many things will need to be built from source outside the default prefix. However, you shouldn’t install outside the default, supported, best prefix. Technically, you can install Homebrew wherever you want. Using /home/linuxbrew/.linuxbrew allows the use of most binary packages (bottles) which will not work when installing in e.g. Homebrew does not use sudo after installation. The installation script installs Homebrew to /home/linuxbrew/.linuxbrew using sudo. Instructions for the best, supported install of Homebrew on Linux are on the homepage.
0 Comments
Leave a Reply. |