Common pre-install commands For Directadmin

CentOS 6 or CloudLInux 6:

yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio \
libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed\
autoconf automake libtool which patch mailx bzip2-devel lsof glibc-headers kernel-devel expat-devel db4-devel

CentOS 7 or CloudLinux 7:

yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio \
libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed \
autoconf automake libtool which patch mailx bzip2-devel lsof glibc-headers kernel-devel expat-devel \
psmisc
 net-tools systemd-devel libdb-devel perl-DBI perl-Perl4-CoreLibs 
perl-libwww-perl xfsprogs rsyslog logrotate crontabs file kernel-headers

AlmaLinux, CentOS or CloudLinux 8:

yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio \
libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed \
autoconf automake libtool which patch mailx bzip2-devel lsof glibc-headers kernel-devel expat-devel \
psmisc
 net-tools systemd-devel libdb-devel perl-DBI perl-libwww-perl xfsprogs 
rsyslog logrotate crontabs file kernel-headers hostname

Debian 10

apt-get update
apt-get
 install gcc g++ make flex bison openssl libssl-dev perl perl-base 
perl-modules libperl-dev libperl4-corelibs-perl libwww-perl libaio1 
libaio-dev \
zlib1g zlib1g-dev libcap-dev cron bzip2 zip automake autoconf libtool cmake pkg-config python libdb-dev libsasl2-dev \
libncurses5 libncurses5-dev libsystemd-dev bind9 dnsutils quota patch logrotate rsyslog libc6-dev libexpat1-dev \
libcrypt-openssl-rsa-perl libnuma-dev libnuma1

FreeBSD tends to have everything needed, and the need to run pre-install commands is less common. Custombuild does require gmake, but will try to install it with dpkg -r or ports if it’s missing. If needed:

 

FreeBSD 12

pkg
 install gcc gmake perl5 wget bison flex cyrus-sasl cmake python 
autoconf libtool libarchive iconv bind911 mailx webalizer 
gettext-runtime udns sudo psmisc tar openssl krb5