sudoIt will be reset when runningPATH, so your program will not be found. It is recommended to add the program directly to the program directory (/bin, /usr/bin,...) and make as few modifications as possiblePATH . In addition, the reason why you can't run gclient is that you don't have permission to run it, which has nothing to do with sudo.
sudo
It will be reset when runningPATH
, so your program will not be found. It is recommended to add the program directly to the program directory (/bin, /usr/bin,...) and make as few modifications as possiblePATH
.In addition, the reason why you can't run
gclient
is that you don't have permission to run it, which has nothing to do withsudo
.