If you want to find in which package a file is located, ‘apt-file’ is your friend:
- sudo apt-get install apt-file (we should install it first!)
- sudo apt-file update (we update its db)
- apt-file find myfilename
note: you can use –regexp | -x option to search using a regular expression pattern (apt-file -x find mypattern)
That’s it!