I trying to install the GVM without root permissions…
But to get all Prerequisites for GVM i need to run apt-get with sudo… Is this okay or should i install them from source code too? (That would be a very big effort i think) and in the installation guide from Gihub its say that i have to run the make install command with sudo too, but if i do that, it install the file to path where i dont have permissions as normal user, so that i cant run gvmd without sudo.
Hope someone can help me,
Environment Greenbone Server
**Operating system: Ubuntu Server 18.4
**Installation method / source: Github
I recomend you to install from sources, and call cmake with
cmake -DCMAKE_INSTALL_PREFIX=/home/<your-user/install …
You will have permissions to run the binaries without sudo.
Remember to update the $PATH environment variable, to be able to execute the binaries.
thanks for the answer, im New in installing with source, Do you can Tell me which path i have to Update and how? In git theres only stand to Update path from the requirements…
you update the PATH variable with the paths to the binaries with
you can add this line also at the end of your .bashrc in your home directory. Then, each time you open a new console, you do not have to export the variable again.