Ubuntu – Problem while installing katoolin in Ubuntu 17.10

kali-linux-toolskatoolinsoftware installation

ragib@RAGIB-PC:~$ sudo su
[sudo] password for ragib:
root@RAGIB-PC:/home/ragib# git clone https://github.com/LionSec/katoolin.git && cp katoolin/katoolin.py /usr/bin/katoolin 
fatal: destination path 'katoolin' already exists and is not an empty directory
root@RAGIB-PC:/home/ragib# chmod +x /usr/bin/katoolin
root@RAGIB-PC:/home/ragib# katoolin
bash: /usr/bin/katoolin: /usr/bin/python: bad interpreter: No such file or directory
root@RAGIB-PC:/home/ragib# sudo katoolin
sudo: unable to execute /usr/bin/katoolin: No such file or directory

terminal image

I was trying to install katoolin to get all the Kali linux tools in Ubuntu 17.10. I have seen many tutorials describing same method, and I think I've done that exactly the same way, but something is not right, either in my system or I did something wrong while trying to install katoolin.

Best Answer

Simply run this:

sudo bash -c "test -e /usr/bin/python || (apt -qqy update && apt install -qy python-minimal)"

Then run the command katoolin.

Related Question