I get this error during installation of newgenlib
/usr/NewGenLibFiles/SystemFiles/ENV_VAR.txt (No such file or
actually the problem is not with the file. try to install ngl in root user.
for that open terminal and type sudo su then press enter. then it ask system password for enter into root user.
after enter into root mode installngl then it will install successfully