Installation of Cyrus IMAP 3.0.0-beta2 on Red Hat Enterprise LinuxΒΆ

Note

Packages for Cyrs IMAP version 3.0.0-beta2 can be obtained from the Open Build System Packages.

  1. Clone the GIT repository:

    $ git clone https://git.cyrus.foundation/diffusion/I/cyrus-imapd.git
    
  2. Install the build dependencies:

    # yum -y install \
        autoconf \
        automake \
        bison \
        CUnit-devel \
        cyrus-sasl-devel \
        cyrus-sasl-md5 \
        cyrus-sasl-plain \
        flex \
        gcc \
        groff \
        jansson-devel \
        krb5-devel \
        libical-devel \
        libxml2-devel \
        libtool \
        libuuid-devel \
        mysql-devel \
        net-snmp-devel \
        openldap-devel \
        openssl-devel \
        "perl(ExtUtils::MakeMaker)" \
        perl-devel \
        pkgconfig \
        postgresql-devel \
        sqlite-devel \
        tcp_wrappers \
        transfig
    
  3. Execute the following commands:

    $ autoreconf -vi
    $ ./configure [options]
    

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

    Note

    We recommend at least specifying --prefix=/usr and --libexecdir=/usr/libexec/cyrus-imapd.

  4. Build Cyrus IMAP:

    $ make
    
  5. Install Cyrus IMAP (with sufficient privileges):

    # make install