Common pre-install commands


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » DirectAdmin

Common pre-install commandsLast Modified: Nov 23, 2014, 2:26 pm
Before installing DirectAdmin, there are some basic programs that you'll need.  The following are the typical commands used before we install DirectAdmin.

On Rehat/Fedora/CentOS:

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 db4-devel

The libcom_err-devel package is for CentOS 6, relating to this error.

CentOS 7
Add all of the above CentOS packages except db4-devel, and include these ones too:

yum install psmisc net-tools systemd-devel libdb-devel perl-DBI


Debian 6

apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev bzip2 automake autoconf libtool cmake pkg-config python libreadline-dev libdb4.8-dev libsasl2-dev


Debian 7

apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev bzip2 automake autoconf libtool cmake pkg-config python libdb-dev libsasl2-dev libncurses5-dev


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:

pkg_add -r gmake perl wget bison flex gd cyrus-sasl2 cmake python autoconf libtool libarchive mailx


FreeBSD 10

pkg install gcc gmake perl5 wget bison flex cyrus-sasl cmake python autoconf libtool libarchive iconv bind99 mailx

 
Related Helpfiles
fixing apt-get on debian
yum generates: repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
How to install cmake
e2fsprogs-devel-1.41.12-3.el6.x86_64 has missing requires of e2fsprogs-libs = ('0', '1.41.12', '3.el6')

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST