kpcyrd / sn0int

Semi-automatic OSINT framework and package manager
https://sn0int.readthedocs.io/
GNU General Public License v3.0
1.92k stars 177 forks source link

Can't install sn0int on Kali Linux Rolling #123

Closed okoester closed 4 years ago

okoester commented 4 years ago

snOint fails to install on Kali Linux Rolling. This is the output:

101 root@xxxxx ~/sn0int (git)-[master] # cargo install -f --path .                                                                                                                                                                           :(
  Installing sn0int v0.12.0 (/root/sn0int)
    Updating crates.io index
   Compiling ring v0.16.7
   Compiling url v2.1.0
error[E0658]: use of unstable library feature 'alloc': this library is unlikely to be stabilized in its current form or name (see issue #27783)
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.7/src/lib.rs:69:1
   |
69 | extern crate alloc;
   | ^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `ring`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `sn0int v0.12.0 (/root/sn0int)`, intermediate artifacts can be found at `/root/sn0int/target`

Caused by:
  build failed
cargo install -f --path .  13,62s user 0,31s system 120% cpu 11,591 total

How to fix that to test sn0int?

Regards Olaf


Versions

Environment

kpcyrd commented 4 years ago

Hey! Please see the install instructions for kali linux: https://sn0int.readthedocs.io/en/stable/install.html#debian-ubuntu-kali

You need to uninstall rust and cargo with apt and reinstall it with rustup from here: https://rustup.rs/

Alternatively you can also use the docker image instead (either the pre-built one from docker hub or by running docker build -t sn0int .)

rustc in kali is currently lagging behind due to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933045

I hope that helps!

kpcyrd commented 4 years ago

Closing since there's now an apt repo with pre-built packages: https://sn0int.readthedocs.io/en/stable/install.html#debian-ubuntu-kali