Linux执行apt-add-repository 提示command not found

在给NanoPI安装tvheadend的时候,参照http://www.havetheknowhow.com/Install-the-software/Install-TVHeadend.html
执行:apt-add-repository http://apt.tvheadend.org/stable
提示: add-apt-repository:command not found
网上解决办法是直接安装工具包
命令:sudo apt-get install python-software-properties
但是亲测安装后还是报command not found,所以依赖包还没有安装完全,少了什么呢?
执行命令:add-apt-repository ,提示要安装python-software-properties外还需要software-properties-common
ok,执行安装命令:sudo apt-get install software-properties-common
再次sudo apt-add-repository http://apt.tvheadend.org/stable

一路顺畅

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容