"add-apt-repository" On Linux

在 Ubuntu 9.10以后 我们可以使用 "add-apt-repository" 脚本添加 ppa 到当前的库中并且自动导入公钥。 再终端下使用下面的语法:
add-apt-repository ppa:<ppa_name>
举个例子:安装最新的audacious(ubuntu下)
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install audacious
注:
add-apt-repository 是由 python-software-properties 这个工具包提供的
所以要先安装python-software-properties 才能使用 add-apt-repository
否则会显示“command not found”
安装方法:apt-get install python-software-properties
posted @ 2017-05-31 09:20  D_R_Y  阅读(260)  评论(0编辑  收藏  举报