Install guide for openvasd wrong

The Greenbone Community Documentation has a section “Building from Source”. For openvasd it is described how to install rust, download sources, verify, extract and then it says…

mkdir -p $INSTALL_DIR/openvasd/usr/local/bin
cd $SOURCE_DIR/openvas-scanner-$OPENVAS_DAEMON/rust
make
cargo build --release

sudo cp -v ../../target/release/openvasd $INSTALL_DIR/openvasd/usr/local/bin/
sudo cp -v ../../target/release/scannerctl $INSTALL_DIR/openvasd/usr/local/bin/
sudo cp -rv $INSTALL_DIR/openvasd/* /

… where “make” makes no sense without parameters.

I get stuck here. :face_with_diagonal_mouth:

make: *** Es wurden keine Ziele angegeben und keine „make“-Steuerdatei gefunden. Schluss.

@R4LF just skip the make step and continue. have a fun.

Eero

@R4LF

you can also try to test my compile script on debian 13 https://github.com/netseevol/openvas-compile-script/blob/main/openvas-install-kali.sh

no warranty. worked this morning on debian 13

Eero

Thank you for quick response. Tried your skript on debian 13 and it works just fine, it’s a great help. :folded_hands:

A look inside reveals the difference to the online guide. Here the relevant section:

mkdir -p “$INSTALL_DIR/openvasd/usr/local/bin”

cd “$SOURCE_DIR/openvas-scanner-$OPENVAS_DAEMON/rust/src/openvasd”
cargo build --release

cd “$SOURCE_DIR/openvas-scanner-$OPENVAS_DAEMON/rust/src/scannerctl”
cargo build --release

cp -v “../../target/release/openvasd” “$INSTALL_DIR/openvasd/usr/local/bin/”
cp -v “../../target/release/scannerctl” “$INSTALL_DIR/openvasd/usr/local/bin/”
cp -rv “$INSTALL_DIR/openvasd”/* /

Who will update the website accordingly?

@RalfE

The official documentation is available on GitHub: GitHub - greenbone/docs: Documentation for the Greenbone Community Edition · GitHub . You can report bugs there and hope someone eventually fixes them.
My own script is probably modified, so it’s by no means an official way to install Greenbone/OpenVAS. I just use it myself because I don’t feel like copy-pasting commands line by line.
I also make no guarantees that it works—and if it eats your last sandwich or causes any other issues, I take absolutely zero responsibility :slight_smile:

Eero