I'm an Ubuntu user and I install packages with the apt-get. For example:
sudo apt-get install hadoop-0.20
After I install the package, there will be files in /usr/bin, /usr/lib/hadoop etc. Are there any commands can show out where exactly the package installed its files?
Best Answer
Yes, use the
dpkg
command likeThe converse question (finding the package providing a given file) is answered with e.g.
Read more about Debian packaging related tools
PS. Ubuntu (and other Linux distributions, eg Mint) is a derivative of Debian.