Additional Tools Installation
Pimcore uses some 3rd party applications for certain functionalities, such as video transcoding (FFMPEG), image optimization (advpng, cjpeg, ...), and many others. For a full list of additional tools required or recommended for Pimcore, please visit Pimcore System Requirements.
The installation of some of the tools is covered in this guide and should work at least on every Debian based Linux (Debian, Ubuntu, Mint, ...). For other Linux distributions you might have to adopt some commands to your platform-specific environment, but we try to use as many statically linked software as possible, that can be used on any x64 Linux platform.
It's important that all tools (incl.
composer) are added to the
$PATHenv. variable, so that Pimcore is able to find the executables. If you're not able to control the
$PATHvariable, you can also manually configure the paths for each application.
Please visit the official install guide for Composer: https://getcomposer.org/
Please keep in mind that many Linux/GNU distributions ship FFMPEG only with free codecs, so they do not support commonly used video codecs such as mpeg4 and many others.
sudo apt-get install ffmpeg
LibreOffice, pdftotext, Inkscape, ...
apt-get install libreoffice libreoffice-script-provider-python libreoffice-math xfonts-75dpi poppler-utils inkscape libxrender1 libfontconfig1 ghostscript
Wkhtmltoimage / Wkhtmltopdf
Please visit: http://wkhtmltopdf.org/downloads.html
wget https://github.com/imagemin/zopflipng-bin/raw/master/vendor/linux/zopflipng -O /usr/local/bin/zopflipng chmod 0755 /usr/local/bin/zopflipng
wget https://github.com/imagemin/pngcrush-bin/raw/master/vendor/linux/pngcrush -O /usr/local/bin/pngcrush chmod 0755 /usr/local/bin/pngcrush
wget https://github.com/imagemin/jpegoptim-bin/raw/master/vendor/linux/jpegoptim -O /usr/local/bin/jpegoptim chmod 0755 /usr/local/bin/jpegoptim
wget https://github.com/imagemin/pngout-bin/raw/master/vendor/linux/x64/pngout -O /usr/local/bin/pngout chmod 0755 /usr/local/bin/pngout
wget https://github.com/imagemin/advpng-bin/raw/master/vendor/linux/advpng -O /usr/local/bin/advpng chmod 0755 /usr/local/bin/advpng
wget https://github.com/imagemin/mozjpeg-bin/raw/master/vendor/linux/cjpeg -O /usr/local/bin/cjpeg chmod 0755 /usr/local/bin/cjpeg
SQIP / SVG Placeholder
Though not stricly a Image Optimizer, SQIP is a SVG-based implementation of the Low Quality Image Placeholders (LQIP) technique, that need some Image-Processing tools to be installed - and therefore their installation is described here.
I'm assuming you've NodeJS up and running using either
yarn as package manager.
Install SQIP globally:
# with npm npm install -g sqip # or with yarn yarn global add sqip
This should install
sqip somewhere in your path.
go get -u github.com/fogleman/primitive
Usually that should install the binary to
/usr/lib/go/bin/primitive - which may not be in your path. I prefer to add a symlink:
cd /usr/local/bin ln -s /usr/lib/go/bin/primitive
apt-get install libimage-exiftool-perl
Install webp for WebP-Support
apt-get install webp
Install graphviz for Workflow
apt-get install graphviz
Install facedetect for image thumbnails focal point
apt-get install facedetect
Install html2text for Pimcore mail
apt-get install html2text