Linuxbrew doesn't really like being installed on a Synology NAS, you have to force the issue in a few important ways.
- Create a
/usr/bin/lddshim so the Homebrew installer can figure out it's compatible with the systemglibc: https://community.synology.com/enu/forum/1/post/153781#!/bin/bash [[ $(/usr/lib/libc.so.6) =~ version\ ([0-9]\.[0-9]+) ]] && echo "ldd ${BASH_REMATCH[1]}"made with @nex3's syntax highlighter - Mount
/volume1/homesto/home:
sudo mkdir /home && sudo mount -o bind "/volume1/homes" /home - Install Homebrew using the normal curl-based instructions on https://brew.sh
- Download the latest
amd64staticcurlLinux binary to~/bin/curl:
https://github.com/moparisthebest/static-curl/releases/latest - Override
curldetection in$(brew --prefix)/Library/Homebrew/brew.sh):
Insetup_curlfunction, replace the literalHOMEBREW_CURL="curl"withHOMEBREW_CURL="${HOME}/bin/curl - Install a compiler from Homebrew:
brew install gcc - Force Linuxbrew to find its own copy of gcc:
ln -s $(which gcc-12) /home/linuxbrew/.linuxbrew/bin/gcc - Install curl from Homebrew:
brew install curl
Now you have a working base setup which can install things. You can also revert the curl detection. Good luck!