Lib Installation error ubuntu

Can someone please help me? I am downloading the gvm-lib sources and keep getting the errors when i run the following command.
Command: curl -f -L https://github.com/greenbone/gvm-libs/archive/refs/tags/v$GVM_LIBS_VERSION.tar.gz -o $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz

Error: Warning: Failed to open the file /gvm-libs-22.4.0.tar.gz: Permission denied
curl: (23) Failure writing output to destination

Hi,

can you check if all the environment variables are set? I suppose SOURCE_DIR is not set therefore curl tries to download the tarball to the root directory.

1 Like