Sudo apt-get-repository:找不到命令

Sudo apt-get-repository: command not found

我正在尝试使用此命令在 Ubuntu Mate 中添加存储库-

sudo apt-get-repository "****************(repository name)"

但是我有这个输出-

sudo: apt-get-repository: command not found

这个我试过了-

sudo apt-get install software-properties-common python-software-properties

还有这个-

sudo apt-get install software-properties-common

但仍然得到相同的 command not found 输出。

这背后的原因是什么?还有我该如何解决这个问题?

也许你应该试试

sudo add-apt-repository“(存储库名称)”