Deb:没有找到命令‘Deb’

root@ubuntu:/tmp# deb https://packages.nginx.org/unit/ubuntu/ eoan unit
No command 'deb' found, did you mean:
 Command 'xdeb' from package 'xdeb' (universe)
 Command 'derb' from package 'icu-devtools' (main)
 Command 'debc' from package 'devscripts' (main)
 Command 'dex' from package 'dex' (universe)
 Command 'deb3' from package 'quilt' (universe)
 Command 'debi' from package 'devscripts' (main)
 Command 'dub' from package 'dub' (universe)
 Command 'dab' from package 'bsdgames' (universe)
deb: command not found

Deb:没有找到命令‘Deb’_第1张图片
如果你遇到了这个错误/错误,那么你可能犯了一个常见的错误。每当您看到以deb开头的任何行时,请确保它不是用于在命令提示符中运行,而是用于添加到特定文件中。

必须将行添加到文件中。/etc/apt/source.列表

就像上面的例子一样如何在Linux中安装Opera,则必须将该行添加到/etc/apt/source.列表.

参考链接 :

你可能感兴趣的:(Ubuntu)