Problem while installing katoolin in Ubuntu 17.10
5,655
Solution 1
Simply, you can just run this command:
sudo apt-get install python
or
sudo apt-get update python
then run katoolin
.
Solution 2
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 videos on Youtube
Author by
Ragib
Updated on September 18, 2022Comments
-
Ragib almost 2 years
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#
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.
-
karel over 6 yearsIt 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 over 6 yearsbtw You are already root, so you don't need to type
sudo katoolin
-katoolin
will do instead.
-