sudo apt-get install cmake
curl -L -O https://github.com/trendmicro/tlsh/archive/v3.4.5.zip
unzip v3.4.5.zip
cd tlsh-3.4.5/
bash make.sh
cd py_ext
python setup.py build
To test
ln -s build/lib.linux-x86_64-2.7/tlsh.so .
python test.py tlsh.so tlsh.so