9 git binutils make autoconf automake gcc linux-headers diffutils texinfo \
10 procps socat shadow sudo \
11 openssl-dev zlib-dev lzo-dev ncurses-dev readline-dev musl-dev lz4-dev vde2-dev
15 export DEBIAN_FRONTEND=noninteractive
19 if [ -n "$HOST" ]; then
20 dpkg --add-architecture "$HOST"
27 git binutils make autoconf automake gcc diffutils sudo texinfo netcat procps socat \
32 libncurses-dev:"$HOST" \
33 libreadline-dev:"$HOST" \
34 libgcrypt-dev:"$HOST" \
35 libminiupnpc-dev:"$HOST" \
36 libvdeplug-dev:"$HOST" \
39 if [ -n "$HOST" ]; then
40 apt-get install -y crossbuild-essential-"$HOST" qemu-user
45 if [ "$ID" != fedora ]; then
46 yum install -y epel-release
49 dnf install -y 'dnf-command(config-manager)'
50 dnf config-manager --enable powertools
57 git binutils make autoconf automake gcc diffutils sudo texinfo netcat procps systemd \
58 findutils socat lzo-devel zlib-devel lz4-devel ncurses-devel readline-devel "$@"
60 if yum info openssl11-devel; then
61 yum install -y openssl11-devel
63 dnf install -y openssl-devel
66 if yum info miniupnpc-devel; then
67 yum install -y miniupnpc-devel
76 deps_linux_alpine "$@"
80 deps_linux_debian "$@"
83 centos | almalinux | fedora)
92 brew install coreutils netcat automake lzo lz4 miniupnpc "$@"
93 pip3 install --user compiledb
97 Linux) deps_linux "$@" ;;
98 Darwin) deps_macos "$@" ;;