简体   繁体   中英

How do I download Anaconda packages without “installing” them?

See title. I'd like to download a compressed package from the Anaconda repository for later installation. How would I use the conda tool to do that?

Use the --download-only flag.

$ conda install --help
usage: conda install [-h] [--revision REVISION] [-y] [--dry-run] [-f]
                     [--file FILE] [--no-deps] [--only-deps] [-m] [-C]

...

  --download-only       Solve an environment and ensure package caches are
                        populated, but exit prior to unlinking and linking
                        packages into the prefix.

...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM