Packages - matiasdelellis/pdlib GitHub Wiki

Packages

Ideally, you will want to use precompiled libraries. We prepared PDLib PHP library for some systems. If you have one, proceed. If you don't have it, take a look how to compile it yourself below. So, you will need to add this repo to your sources and to install it:

PDlib Packages

Ubuntu Bionic

echo "deb https://repo.delellis.com.ar bionic bionic" > /etc/apt/sources.list.d/20-pdlib.list
wget -qO - https://repo.delellis.com.ar/repo.gpg.key | sudo apt-key add -
apt update
apt install php7.0-pdlib

Fedora 28 onwards.

dnf copr enable matias/dlib
dnf install pdlib

Dlib packages only

Nextcloud increased the PHP requirements leaving out very popular distributions. Since there are still people who use third party repository to get updated versions of PHP, at least we keep the Dlib packages updated and only having to compile PDlib.

Ubuntu Xenial

echo "deb https://repo.delellis.com.ar xenial xenial" > /etc/apt/sources.list.d/20-pdlib.list
wget -qO - https://repo.delellis.com.ar/repo.gpg.key | sudo apt-key add -
apt update
apt install libdlib-dev

Debian stretch

echo "deb https://repo.delellis.com.ar stretch stretch" > /etc/apt/sources.list.d/20-pdlib.list
wget -qO - https://repo.delellis.com.ar/repo.gpg.key | sudo apt-key add -
apt update
apt install libdlib-dev

NOTE: You can use real test of these components using the following tool. If this test passes correctly, you can continue with the installation of the application knowing that you really meet the requirements.