1
0
mirror of https://framagit.org/luc/lufi.git synced 2025-10-05 22:02:39 +02:00
13
dependencies
Luc Didry edited this page 2023-11-30 15:22:09 +00:00

Dependencies

Carton

Carton is a Perl dependencies manager, it will get what you need, so don't bother for Perl modules dependencies (but you can read the file cpanfile if you want).

You will need some tools before installing Perl modules:

sudo apt-get install build-essential libssl-dev libio-socket-ssl-perl \
     liblwp-protocol-https-perl zlib1g-dev carton

For RedHat-based systems:

sudo dnf group install -y "Development Tools"
sudo dnf install -y openssl-devel perl-IO-Socket-SSL perl-LWP-Protocol-https \
         zlib-devel perl-CPAN perl-Carton

DB dev packages

NB: There's no dependency for SQLite

If you want to use PostgreSQL

sudo apt-get install libpq-dev

For RedHat-based systems:

sudo dnf install -y libpq-devel

If you want to use MySQL (or MariaDB)

sudo apt-get install libmariadbd-dev libmariadb-dev-compat

Install libmysqld-dev instead if you use Debian Jessie.

For RedHat-based systems, you can try sudo dnf install -y perl-DBD-MariaDB (without garantee).


You can now go to the installation page or go back to wiki's homepage.