Install to /opt instead of /home/linuxbrew

That’s great to know, thanks.

I understand even less now why a symlink to the user’s home directory is necessary. Is it just a hack around adding /opt or /usr/local to a user’s PATH (or, more likely, to /etc/profile)?

I’m not sure what you mean by a symlink in the users’s home directory. We install Homebrew in /home/linuxbrew/.linuxbrew by default and $HOME/.linuxbrew if the user does not have write permissions to /home/linuxbrew/.linuxbrew.

I hope this post answers your questions: Install to /opt instead of /home/linuxbrew

Many thanks for all the info!

I really appreciate it!

Many thanks!

I will definitely try it!