Hello,
I’m trying to install to compile GSE using the official guide (https://greenbone.github.io/docs/gvm-21.04/index.html) on Ubuntu 20.04.
I had a problem on the ospd-openvas compilation.
here is the official method
Installing ospd-openvas
cd $SOURCE_DIR/ospd-openvas-$OSPD_OPENVAS_VERSION
python3 -m pip install . --prefix=$INSTALL_PREFIX --root=$INSTALL_DIR --no-warn-script-location
...
when i do it, it doesn’t care of the value of $INSTALL_DIR and fail trying to write on non-writable folder :
reso@openvas:~/source/ospd-openvas-21.4.4$ python3 -m pip install . --prefix=/usr/local --root=/home/reso/install
Processing /home/reso/source/ospd-openvas-21.4.4
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
...
Successfully built ospd-openvas
Installing collected packages: ospd-openvas
Attempting uninstall: ospd-openvas
Found existing installation: ospd-openvas 21.4.4
Uninstalling ospd-openvas-21.4.4:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission non accordée: '/usr/local/bin/ospd-openvas'
Consider using the `--user` option or check the permissions.
Am i not supposed to get an /home/reso/install/usr/local/bin/ospd-openvas instead ?
Thank for your help.
Julien