sudo apt-get install graphviz
git clone https://github.com/avast-tl/retdec.git
sudo apt-get install build-essential cmake git perl python3 bison flex libfl-dev autoconf automake libtool pkg-config m4 zlib1g-dev upx doxygen graphviz
cd retdec
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=<path>
make -jN (N is the number of CPU cores to use for parallel build)
make install