When we compile software from source code on Linux system, header file missing is an issue which will happen frequently. Just like this error message:
Usually, you may copy the keyword from error message and search on Google, try to find some missing packages we need to install. But we have a better an unified solution, apt-file
is for fixing this kind of issue.
Let’s install apt-file
firstly with these command:
|
Then search the header file with it:
|
Ok, we get the package name we are missing, install it with apt-get
and problem will be solved.
|
Another useful command to list files installed by a DEB package:
|
Join my Email List for more insights, It's Free!😋