首页 > 代码库 > sudo: add-apt-repository: command not found

sudo: add-apt-repository: command not found

    错误来啦:sudo: add-apt-repository:command not found
      网上解决办法是直接安装工具包 命令:sudo apt-get install python-software-properties

      loter亲测安装后还是报command not found,所以依赖包还没有安装完全,少了什么呢?

     执行命令:add-apt-repository ,如图,除了要安装python-software-properties外还需要software-properties-common

     ok,执行安装命令:sudo apt-get software-properties-common

是这个  才起作用能安装sudo apt-get install software-properties-common

 

 

 

sudo: add-apt-repository: command not found