64位ubuntu sudo:add-apt-repository:command not found 问题

安装java8的时候,执行第一步报了sudo:add-apt-repository:command not found的错误。

经查找解决方案是,执行命令:add-apt-repository 的时候,除了要安装python-software-properties外还需要software-properties-common。

执行:sudo apt-get install  software-properties-common    就可以解决。

猜你喜欢

转载自482739566.iteye.com/blog/2339516