Unable to install dolibarr: Error while installing package:

Hello!
Installed Ubuntu and updated.
After trying to install DoliDeb 16.0.3 (dolibarr_16.0.3-4_all.deb)
An error occurred:
unable to install dolibarr:
Error while installing package: installed dilibarr package post-intallation script subprocess returned error exit status 20

what could be the question, please help

Hello,

Don’t know, but I strongly recommend not to use the .deb.
Better to :

  1. install a working LAMP on your Ubunutu : How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 18.04 | DigitalOcean
  2. Then just put the dolibarr PHP files on it.

Ok!
I will try
Thank you!

After reinstall, the package still ins
tall but by going to the link install dolibarr/install/
next
dolibarr/install/check.php

i receive such a check:

Error Your PHP installation does not support IMAP functions.

I’m a newbie)
I wanted to try to test the dolibarr

tried to install in a similar way, but unfortunately ran into a limitation:
php upload file size limit
could not decide
used desktop ubuntu

used this method before

sudo apt install php-imap

https://www.drupal.org/docs/7/managing-site-performance-and-scalability/increase-upload-size-in-your-phpini

This method is good !

Majestic!
I will try