我是Linux终端的新手,现在尝试使用sudo、apt-get、whereis等命令时出现错误信息:bash: sudo: command not found。
我的命令:
$sudo apt-get install libc6-dev
错误是
bash: sudo: command not found.
请告诉我这里可能有什么问题,提前感谢您。我是Linux终端的新手,现在尝试使用sudo、apt-get、whereis等命令时出现错误信息:bash: sudo: command not found。
我的命令:
$sudo apt-get install libc6-dev
错误是
bash: sudo: command not found.
请告诉我这里可能有什么问题,提前感谢您。尝试使用su登录
$ su -
并安装sudo
# apt-get install sudo
/usr/bin/sudo
echo "export PATH="$PATH:/usr/bin"" >> ~/.bashrc