码迷,mamicode.com
首页 > 其他好文 > 详细

How to install local .deb packages

时间:2017-07-02 16:21:04      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:如何   last   ast   安装   update   ext   apt   package   packages   

如何安装本地的.deb包

usually I do dpkg -i <deb file>, it‘ll fail saying it needs dependencies.

After that when you do an apt-get update it‘ll say at the end something like "dependencies are ready to install" I think it then advises to use apt-get install -f.

Once that‘s done, I use dpkg -i again.

Worked fine for me last few years.

edit: looking a bit further, apparently a tool called gdebi can do this as gdebi [deb file]

参考:

https://superuser.com/questions/196864/how-to-install-local-deb-packages-with-apt-get

How to install local .deb packages

标签:如何   last   ast   安装   update   ext   apt   package   packages   

原文地址:http://www.cnblogs.com/liqipeng/p/7106047.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!