Ubuntu which package owns a file




















Viewed k times. Improve this question. Braiam David Z David Z 8, 5 5 gold badges 24 24 silver badges 22 22 bronze badges. Same on SU: superuser. None of the answers here actually cover the Provides: mechanism. See also askubuntu. Add a comment. Active Oldest Votes.

You can use dpkg command to find out which installed package owns a file: From man dpkg : -S, --search filename-search-pattern Search for a filename from installed packages. Improve this answer. Masood Khaari 6 6 bronze badges. Ressu Ressu I highly recommend using dlocate, which is updated daily for faster lookups. DanielTChen, but dlocate may not do the job, if dlocate's database is out of date.

You have to call sudo update-dlocatedb to update it. If dpkg the exact path doesn't return anything e. Show 4 more comments. Merlijn Sebrechts 6, 1 1 gold badge 37 37 silver badges 63 63 bronze badges. In my opinion this should be the accepted answer. But in response to Ubuntu Packages Search , I might argue that a shell program this simple is extremely friendly and easy to remember once you know it.

If you use dpkg, apt-get, or aptitude as your standard tools, there is nothing friendly about firing up Chrome to surf the internet! Of course this answer is great for the "bonus question". I aliased apt-file find as apt-find long time ago and it's really handy! Btw, latest versions require root for apt-file update. It seems like key piece of any package manager's search capabilities.

Show 2 more comments. There's also apt-file for looking up files in packages that aren't installed. For example: apt-file list packagename. For example, here are the search results for libnss3. This recently just returns an error. Chai T. Rex 4, 1 1 gold badge 22 22 silver badges 47 47 bronze badges. Thank you! Thank you for all the help! All searches just lead back to "Tracker".

I suspected it was Enthoughts' Canopy though. Home » Apple. See also Quick Answer: Why is the sleep button disabled in Windows 7? Like this post? Please share to your friends:. Microsoft Windows is a group of many GUI based operating systems developed and offered. Select your default language. If you have multiple languages. Learn more. Ask Question. Asked 12 years, 3 months ago.

Active 6 years, 11 months ago. Viewed k times. Improve this question. John T k 25 25 gold badges silver badges bronze badges. Jay Conrod Jay Conrod 4, 4 4 gold badges 21 21 silver badges 17 17 bronze badges. Same on Ubuntu: askubuntu. Add a comment. Active Oldest Votes. Improve this answer. Cristian Ciupitu 5, 2 2 gold badges 32 32 silver badges 46 46 bronze badges. John T John T k 25 25 gold badges silver badges bronze badges.

FYI: apt-file seems to depend on Contents-amd And not all 3rd party repos provide this file. It did not work for me. I updated the database but it does not return anything. In most cases you will not need to install a non-standard package apt-file and get away with using the pre-installed one dpkg.

See top voted answer. That is only if the files already installed — John T. In contrast to apt-file , this also finds the package to a file if it was installed manually via dpkg -i! Show 2 more comments. It doesn't work with custom repos though.



0コメント

  • 1000 / 1000