this error comes when i use this command:-
sudo apt install wireless-tools
Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/apt" (-1)
echo path gives an output like this :-
/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
don't know what to do ? just a fresher in OS.
Best Answer
To install AirCrack (as the author has indicated is his intent), you can either use MacPorts, Brew, or build from the source.
Apt, Yum, Pacman, and other package managers do not exist on macOS; the closest you'll get is MacPorts or Brew.