根据缺少的文件查找deb包

有时候运行程序会出现有的文件找不到但是你又不知道在哪个包里面的问题。

下载这个可能需要fq。

sudo apt install apt-file
sudo apt-file update
# 寻找libncurses.so.5的deb包
sudo apt-file find libncurses.so.5
sudo apt install libncurses5

已安装,或者

dpkg -S $(which hwclock)
posted @ 2025-11-24 23:16  杨旭0324  阅读(6)  评论(0)    收藏  举报