Usually, I looked on google to understand in which package the file was located and often I finished with 5 packages installed whereas only one was needed. To solve this problem, apt-file exists:
- First install it: sudo apt-get install apt-file
- Then, update it's database so that all the information is fetched in the repository:
sudo apt-file update
apt-file search ANN.h
The result is the following:
libann-dev: /usr/include/ANN/ANN.h libmadlib-dev: /usr/include/MAdLib/ANN.h
What does it mean? It means that 2 packages have the expected file: the first one is called libann-dev (What a surprise!) and the file I am looking for would be (when installed) in /usr/include/ANN/ANN.h. The second one is called libmadlib-dev and the file would be in: /usr/include/MAdLib/ANN.h
No comments:
Post a Comment