问题:
sudo: add-apt-repository: command not found
修复add-apt-repository:命令在Ubuntu中找不到的错误很简单。
add-apt-repository命令取决于 software-properties-common
。
只需运行以下命令即可安装 software-properties-common
。
sudo apt update sudo apt install software-properties-common
然后更新ubuntu并尝试使用 add-apt-repository
添加ppa存储库
sudo apt update
现在,我们可以添加PPA,如下所示:
例子:
sudo add-apt-repository ppa:nginx/development
日期:2020-07-07 20:55:54 来源:oir作者:oir