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.
Please visit the official install guide for Composer: https://getcomposer.org/
- Linux 64bit static builds (including qt-faststart): http://johnvansickle.com/ffmpeg/
- Windows builds: http://ffmpeg.zeranoe.com/builds/
Run all this commands as root
cd ~ wget http://FFMPEG-ARCHIVE-URL-FROM-ABOVE -O ffmpeg.tar.xz tar -Jxf ffmpeg*.tar.xz rm ffmpeg*.tar.xz mv ffmpeg-* /usr/local/ffmpeg ln -s /usr/local/ffmpeg/ffmpeg /usr/local/bin/ ln -s /usr/local/ffmpeg/ffprobe /usr/local/bin/ ln -s /usr/local/ffmpeg/qt-faststart /usr/local/bin/ ln -s /usr/local/ffmpeg/qt-faststart /usr/local/bin/qtfaststart
LibreOffice, pdftotext, Inkscape, ...
apt-get install libreoffice python-uno 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