1. 问题
Command ‘sudo’ is available in the following places
- /bin/sudo
- /usr/bin/sudo
The command could not be located because ‘/usr/bin:/bin’ is not included in the PATH environment variable.
sudo: command not found
2. 解决方案
终端输入:
export PATH=$PATH:/usr/bin