This article outlines the installation procedure for Kolab 16 on Alma Linux 9 for x86_64 architectures.

Install Extra Packages for Enterprise Linux (EPEL)

# dnf install 'dnf-command(config-manager)'
# dnf config-manager --set-enabled crb
# dnf install epel-release
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9

Install the Kolab repository

# rpm --import https://mirror.apheleia-it.ch/repos/Kolab:/16/key.asc
# rpm -Uvh https://mirror.apheleia-it.ch/repos/Kolab:/16/kolab-16-for-el9.rpm

Install Kolab

Update first, and then install Kolab:

# dnf update --allowerasing
# dnf install kolab

Next steps

Run the setup-kolab script as described in this article.

Categories: Uncategorized

6 Comments

Josef · April 7, 2023 at 9:51 am

There is an error at “Install the Kolab repo”:
It must be “rpm -Uvh https://mirror.apheleia-it.ch/repos/Kolab:/16/kolab-16-for-el9stream.rpm” instead of “rpm -Uvh https://mirror.apheleia-it.ch/repos/Kolab:/16/kolab-16-for-el9-stream.rpm

    Christian Mollekopf · May 12, 2023 at 3:20 pm

    Thanks for the tip, this is fixed now.

Thad · April 10, 2023 at 6:40 pm

ERROR 1698 (28000): Access denied for user ‘root’@’localhost’

That’s error when following your instructions line for line. Have you tested this lately? If so can you verify this still works? Thanks.

    Christian Mollekopf · May 12, 2023 at 3:19 pm

    Hi,
    There was indeed an issue with mariadb >= 10.4, which is solved now. You may still see some error messages during setup-kolab (as some different syntax variants are attempted), but the setup should work nevertheless.

Dave · May 10, 2023 at 5:36 am

Seems there are some dependancy issues tyring to install this on Alma Linux 9.1.
First off a dnf repoquery –requires kolab –resolve –recursive shows that kolab-webadmin is a dependancy, yet for some reason it doesn’t get installed when doing a dnf install kolab. So without kolab-webadmin, the kolab database is not created. Once I manually installed kolab-webadmin it not creates the kolab database and populates it. So that fixed one issue.

It seems there are other missing dependancies that i have found so far like:
php-kolab-net-ldap3
php-pear-Auth-SASL
php-pear-Mail
php-pear-Net-SMTP
php-pear-Net-Socket
php-pecl-zip

But I am unable to get php-kolab-net-ldap3 installed since it is dependant on:
mozldap-tools and php-pear(Net_LDAP2). When installing I get this error.

dnf install php-kolab-net-ldap3
Last metadata expiration check: 2:41:24 ago on Tue May 9 21:20:44 2023.
Error:
Problem: cannot install the best candidate for the job
– nothing provides php-pear(Net_LDAP2) needed by php-kolab-net-ldap3-1.1.3-3.7.el9.kolab_16.noarch
– nothing provides mozldap-tools >= 6.0.5 needed by php-kolab-net-ldap3-1.1.3-3.7.el9.kolab_16.noarch
(try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

I can’t find these rpm’s anywhere where I can grab it for Alma Linux 9.1.

Anyone have any ideas on how to get this to work. I can get it installed on CentOS7 just fine, but that will not be supported in a years time and I don’t want to have to re-install next year.

    Christian Mollekopf · May 12, 2023 at 3:17 pm

    Hi Dave,
    There were indeed some issues in the enterprise linux 9 packaging, but they should now be fixed.
    Please note that the instructions have slightly changed (the kolab-release package) as we’re no longer building against CentOS9 Stream, but Alma Linux 9 instead.

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *