0
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
root@RAGIB-PC:/home/ragib#

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.

  • It looks like you already have leftover files in /usr/bin/katoolin. Remove the katoolin directory and its contents recursively using this command: sudo rm -r /usr/bin/katoolin and try again. Please comment or edit your question and report any errors. – karel Mar 23 '18 at 5:05
  • btw You are already root, so you don't need to type sudo katoolin - katoolin will do instead. – karel Mar 23 '18 at 5:19
0

Simply run this :-

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

Then run command "katoolin"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.