发布于 2023-02-20 18:56:50
如果编译器正在抱怨某个特定的缺少文件,您可以在https://packages.ubuntu.com/的所有包中搜索-向下滚动到“搜索包的内容”。
输入确切的文件名,选择发行版,它将告诉您您可能在哪个包(S)中找到该文件。
或者使用apt-file
(默认情况下没有安装)。
sudo apt install apt-file
sudo apt-file update
apt-file search Qt5XmlPatterns.pc
libqt5xmlpatterns5-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/Qt5XmlPatterns.pc
https://askubuntu.com/questions/1455835
复制相似问题