I\'ve done my homework: searched, tried and read conda documentation. However, I could not find the answer to this seeming common and simple task: List files that belong to
Found out that all packages that conda installed are stored under <root_environment>/pkgs. One can find out about root environment and other information by running conda info.
Then to list files that a package has:
tree <root_environment>/pkgs/<package_name>-<package_version>
or with find, one can also find which downloaded package has the command:
find <root_environment> -type f -iname 'somecommand'
<root_environment> here is a placeholder for something like ~/anaconda if one installed anaconda into ~/anaconda
This solution is rather *nix-specific but it is good enough to me.
Assuming you have activated the relevant anaconda environment, you can look at the file ${CONDA_PREFIX}/conda-meta/<package-name-and-version>-<hash>.json and look for the files element.
(this works with Miniconda on Linux)