安装本地deb或者rpm包时,如果安装依赖包?

示例

sudo apt install ./cuttlefish-base_*.deb ./cuttlefish-user_*.deb

在安装的时候,会自动安装依赖,比用dpkg的安装方式更好。

与此类似,对于红帽系的,也可以使用dnf install来安装本地rpm软件包。

posted @ 2024-10-19 13:09  摩斯电码  阅读(3)  评论(0编辑  收藏  举报