How to install local .deb packages

Posted 博观约取 厚积薄发

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章

如何在 Ubuntu 22.04 上安 Firefox.Deb(不是How to Install Firefox as a .Deb on Ubuntu 22.04 (Not a Snap)

How to reconfigure installed dpkg package (tzdata, locales)

how to install hive

.deb文件安装

How to install VNC server on CentOS 6

How to Install MySQL