You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the installer script locally (for testing some things, not for real hosting) on an M2 MacBook, and getting this
uname: illegal option -- -
usage: uname [-amnoprsv]
installer.sh: line 11: lsb_release: command not found
installer.sh: line 12: lsb_release: command not found
ERROR: Sorry, only x86_64 and aarch64/arm64 are supported. Exiting...
Usage:
sudo bash installer.sh
Please try again.
This is because of line 10 in installer.sh, which is
--hardware-platform isn't an option supported by the uname on macs, i guess? but uname -m returns what you're expecting, which is arm64. So replacing that line with
of course, the next lines (11 & 12) expect the platform to be debian, so this probably doesn't matter too much, hah. is there any specific reason I can't run a PDS locally on my mac, or in a docker image? just not supported? thanks!
You are totally welcome to run the PDS on a mac! Many of the core developers use macs for development (though I do not myself). I don't think there are too many quirks or differences. It's just docker under the hood.
For the "distribution" that we support in this repo, however, we only support a very specific and limited setup, intentionally. We don't have the technical bandwidth to support many similar-but-slightly-different setups (like FreeBSD, other linux distros, kubernetes, nomad, podman, arm64, etc, etc). In the long run, the way to have things run on many platforms will probably be to have community folks contribute write blog posts or HOWTOs/guides and have those show up in google searches!
Running the installer script locally (for testing some things, not for real hosting) on an M2 MacBook, and getting this
This is because of line 10 in
installer.sh
, which isPLATFORM="$(uname --hardware-platform || true)"
This yields
--hardware-platform
isn't an option supported by theuname
on macs, i guess? butuname -m
returns what you're expecting, which isarm64
. So replacing that line withPLATFORM="$(uname --hardware-platform || uname -m || true)"
still outputs the
illegal option -- -
lines, but sets the$PLATFORM
variable correctly, allowing the script to continue.The text was updated successfully, but these errors were encountered: