Yea, I know its the edgy kid distro, just trying some stuff with it on live USB. I’m not doing this on my Debian install to save time
I’ve been trying to use wifite to pentest my home network but I’m running into an issue. I noticed my iso does not have the packages hcxtools.
Tried installing from terminal but didn’t work and the command from Kali documentation did not work
The error so the following
E: Unable to locate package hcxtools
The command leading to it was
Sudo apt install hcxtools.
What am I doing wrong?
- hallettj ( @hallettj@beehaw.org ) English12•11 months ago
Try
sudo apt update
before running the install command. The ISO might not be preloaded with a full package index, or it might be out of date.If that doesn’t work take a look at
/etc/apt/sources.list
to see if maybe the ISO uses some minimal repo that doesn’t have the full set of packages. - Moobythegoldensock ( @Moobythegoldensock@lemm.ee ) 4•11 months ago
Did you try apt update and apt search? Is it in the repositories you’re searching? Do you need to add a repository and/or build it from GitHub?
The reason Kali is a meme is because it’s intended for professionals but often used by newbies, and you’re asking a rather basic question about package management.
Will run apt update, just didn’t think to was needed cos it was a new iso.
I’m not very technical. Not good with terminals
- Moobythegoldensock ( @Moobythegoldensock@lemm.ee ) 1•11 months ago
You’re running a live image, so the list of packages in the external repositories may be blank depending on how Kali does its defaults. Having apt fetch a package list is a very easy first troubleshooting step.
- 0xtero ( @0xtero@kbin.social ) 4•11 months ago
Yea, I know its the edgy kid distro
Huh?
- bizdelnick ( @bizdelnick@lemmy.ml ) 3•11 months ago
Run
sudo apt update
before trying to install anything.Oki, will do it once I get home, the iso and my machine aren’t with me rn
- Kidplayer_666 ( @Kidplayer_666@lemm.ee ) 2•11 months ago
Probably means the repos apt is checking doesn’t have that tool, not sure thi
- Yote.zip ( @yote_zip@pawb.social ) English1•11 months ago
I haven’t used Kali Linux before, but
hcxtools
is available in the Debian repos so presumably your/etc/apt/sources.list
is invalid (probably the LiveUSB has disabled non-iso sources). Can you post what is in that file?Edit: Actually it looks like Kali uses a single line for its repo. Can you add
deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware
to your
/etc/apt/sources.list
, run anapt update
and try again? - Pantherina ( @Pantherina@feddit.de ) 1•11 months ago
If you just need special tools, a Kali Distrobox would work