1=>sudo apt install -y build-essential git libdistorm3-dev yara libraw1394-11 libcapstone-dev capstone-tool tzdata
2=>sudo apt install -y python2 python2.7-dev libpython2-dev
3=>curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
4=>sudo python2 get-pip.py
5=>sudo python2 -m pip install -U setuptools wheel
6=>python2 -m pip install -U distorm3 yara pycrypto pillow openpyxl ujson pytz ipython capstone
7=>sudo python2 -m pip install yara
8=>sudo ln -s /usr/local/lib/python2.7/dist-packages/usr/lib/libyara.so /usr/lib/libyara.so
9=>python2 -m pip install -U git+https://github.com/volatilityfoundation/volatility.git
Lets enjoy