mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.57k stars 343 forks source link

[feature] download packages without extracting... `--download-without-extracting`? #3251

Open carschandler opened 3 months ago

carschandler commented 3 months ago

Troubleshooting docs

Anaconda default channels

How did you install Mamba?

Micromamba

Search tried in issue tracker

extract

Latest version of Mamba

Tried in Conda?

I have this problem with Conda as well, without using Mamba

Describe your issue

Sometimes it is desirable to simply solve for an environment and download the packages without extracting the downloaded archives. For example, if I want to create a local channel containing a number of packages or I want to transport a package cache to a different system. It would be nice to be able to mamba/micromamba install -f environment.yml --download-without-extracting instead of having to manually remove those directories from $MAMBA_ROOT_PREFIX/pkgs afterward. Honestly, I think that --download-only is kind of a misnomer as it currently stands, but I suppose it's better to have parity with conda for that option. The install process always takes care of extraction if it hasn't been done yet anyway, so I don't see any harm in being able to decouple the download and extract steps.

mamba info / micromamba info

No response

Logs

No response

environment.yml

No response

~/.condarc

No response