首页 > 代码库 > How to install local .deb packages
How to install local .deb 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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。