Installing PhiloLogic4 on Ubuntu
The following dependencies need to be installed:
Run the following command:
sudo apt-get install libxml2-dev libxslt-dev zlib1g-dev apache2 libgdbm-dev liblz4-tool brotli ripgrep
Install pip3 (not the version from Ubuntu repos since it breaks pyproject.toml builds). First delete the python3-setuptools Ubuntu package if present: sudo apt purge python3-setuptools
, then run:
wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py
Run install script inside the PhiloLogic4 directory
./install.sh
Set-up Apache:
sudo a2enmod rewrite
sudo a2enmod cgi
sudo a2enmod brotli
AllowOverride
to all
for the directory containined your philologic databases in your Apache config