Template:Installation/Preparation/Debian
Install Packages
As root run:
apt-get install build-essential git curl gsfonts imagemagick libmagickwand-dev nodejs redis-server libssl-dev libcurl4-openssl-dev libxml2-dev libxslt1-dev libidn11-dev yarnpkg
Install the database
Skip this step if you already have one.
See the Debian wiki.