install.sh Fails on macOS: Linux-Specific Commands and Package Managers Not Available
โ Problem Summary
Attempted to run BillionMail's install.sh script natively (without Docker) on macOS Sonoma. The script fails immediately due to assumptions about a Debian/Ubuntu Linux environment. Many commands and tools used are not available on macOS, resulting in the script crashing early.
๐ System Info
- OS: macOS Sonoma 14.4
- Kernel: Darwin 24.3.0 (MacBook-Pro.local)
- Install Type: Non-Docker, direct install via
sudo bash install.sh - Architecture: 64-bit, Intel
๐งจ Error Output
sudo bash install.sh
Postfix myhostname configuration use: mail.example.com
install.sh: line 241: hostnamectl: command not found
install.sh: line 291: apt-get: command not found
install.sh: line 292: apt-get: command not found
install.sh: line 296: dpkg: command not found
install.sh: line 298: apt-get: command not found
...
install.sh: line 296: dpkg: command not found
install.sh: line 298: apt-get: command not found
docker command: 1
install.sh: line 435: chkconfig: command not found
install.sh: line 436: chkconfig: command not found
install.sh: line 437: service: command not found
install.sh: line 439: service: command not found
cat: /etc/docker/daemon.json: No such file or directory
=================================================
docker start failed
install.sh: line 182: free: command not found
BillionMail is currently developed based on Linux
Hey, Currently we not support macOS.
Thank you
On Wed, 4 Jun 2025, 3:51 am dreambladeflag, @.***> wrote:
dreambladeflag left a comment (aaPanel/BillionMail#47) https://github.com/aaPanel/BillionMail/issues/47#issuecomment-2938168011
Hey, Currently we not support macOS.
โ Reply to this email directly, view it on GitHub https://github.com/aaPanel/BillionMail/issues/47#issuecomment-2938168011, or unsubscribe https://github.com/notifications/unsubscribe-auth/A637MSACIAETSHFYUQTMP7D3BZNMFAVCNFSM6AAAAAB6QK6MJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMZYGE3DQMBRGE . You are receiving this because you authored the thread.Message ID: @.***>