Geant4 install error

Hello Dear geant4 user !
I’m trying to install geant4 but I got some the error message below. Someone can help me to fix it.

You don’t have the needed permissions on the directory under which geant4 is going to be installed. /opt is by default owned by the root user.

Either do sudo make install, adjust the permissions of /opt so your account can write to it, or install Geant4 in a directory you have write permissions for.

ok and thank for your answer !

1 Like