List installed files of a package?

前端 未结 2 808
一生所求
一生所求 2020-12-10 11:40

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

2条回答
  •  时光取名叫无心
    2020-12-10 12:16

    Found out that all packages that conda installed are stored under /pkgs. One can find out about root environment and other information by running conda info.

    Then to list files that a package has:

    tree /pkgs/-

    or with find, one can also find which downloaded package has the command:

    find -type f -iname 'somecommand'

    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.

提交回复
热议问题