没有找到命令‘apt’,您的意思是:

没有找到命令‘apt’,您的意思是:

当我尝试运行时:

apt –get install vsftpd 

我收到错误:

No command 'apt' found, did you mean:
 Command 'aptd' from package 'aptdaemon' (main)
 Command 'xapt' from package 'xapt' (universe)
 Command 'opt' from package 'llvm' (universe)
 Command 'apm' from package 'apmd' (main)
 Command 'atp' from package 'atp' (universe)
 Command 'ppt' from package 'bsdgames' (universe)
 Command 'apf' from package 'apf-firewall' (universe)
 Command 'apg' from package 'apg' (main)
 Command 'gpt' from package 'gpt' (universe)
 Command 'ant' from package 'ant' (main)
 Command 'ant' from package 'ant1.7' (universe)
 Command 'at' from package 'at' (main)
 Command 'pat' from package 'dist' (universe)
 Command 'aft' from package 'aft' (universe)
apt: command not found

是什么赋予了? -。-

答案1

尝试运行

apt-get install vsftpd 

后面不应该有空格“易于”...

答案2

如上所述,正确的命令是apt-get。但是,您很可能需要以 root 用户身份使用 sudo 安装它。因此,如果安装不起作用,请sudo apt-get install vfghty在系统询问时尝试输入密码。希望这有效,祝你好运!

相关内容