
Installation of Cyrus IMAP 2.4.18 on CentOS
*******************************************

Note: Packages for Cyrus IMAP version 2.4.18 can be obtained from
  the Open Build System Packages.

1. Clone the GIT repository:

      $ **git clone** https://github.com/cyrusimap/cyrus-imapd.git

2. Checkout the tag for version 2.4.18 of Cyrus IMAP:

      $ **git checkout** cyrus-imapd-2.4.18

3. Install the build dependencies:

      # **yum -y install \
          autoconf \
          automake \
          bison \
          cyrus-sasl-devel \
          flex \
          groff \
          krb5-devel \
          mysql-devel \
          openssl-devel \
          "perl(ExtUtils::MakeMaker)" \
          pkgconfig \
          postgresql-devel \
          net-snmp-devel \
          transfig \
          perl-devel \
          db4-devel \
          openldap-devel \
          tcp_wrappers**

4. Execute the following commands:

      $ **automake -a -f -c**
      $ **aclocal -I cmulocal/**
      $ **autoheader**
      $ **autoconf -f**
      $ **./configure** [options]

   For a full list of options, see "./configure --help".

   Note: We recommend at least specifying "--prefix=/usr", "--with-
     cyrus- prefix=/usr/lib/cyrus-imapd" and "--with-service-
     path=/usr/lib /cyrus-imapd".

5. Build Cyrus IMAP:

      $ **make**

6. Install Cyrus IMAP (with sufficient privileges):

      # **make install**
