如何安装本地的.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]