Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update micromamba installation docs for Windows #2218

Merged
merged 2 commits into from
Jan 18, 2023

Conversation

Tiksagol
Copy link
Contributor

No need to use 7zip as Windows 10 contains tar.exe (and the former might not be installed).

Windows 10 contains tar.exe
@wolfv
Copy link
Member

wolfv commented Jan 12, 2023

@Tiksagol does it really? I haven't really seen that in the wild (except on CI systems that is indeed the case).

I think we're working more towards putting the non-compressed binary somewhere so that installation becomes even simpler.

@jonashaag
Copy link
Contributor

To that end, want to deploy this script? #2164 (comment)

@Tiksagol
Copy link
Contributor Author

@Tiksagol does it really? I haven't really seen that in the wild (except on CI systems that is indeed the case).

I think we're working more towards putting the non-compressed binary somewhere so that installation becomes even simpler.

@wolfv - yes, works fine on Windows 10

@jonashaag
Copy link
Contributor

I think it ships bsdtar. You can see usage in the provision-with-micromamba code, which is compatible with bare bones Windows systems.

@wolfv
Copy link
Member

wolfv commented Jan 17, 2023

This article is from April 22 https://learn.microsoft.com/en-us/virtualization/community/team-blog/2017/20171219-tar-and-curl-come-to-windows

So I guess it's true! I'm fine with changing it to curl + tar in that case and keep the old one as reference for older systems.

@Tiksagol
Copy link
Contributor Author

I think it ships bsdtar. You can see usage in the provision-with-micromamba code, which is compatible with bare bones Windows systems.

@jonashaag - right:

C:\Users\me>tar --version bsdtar 3.5.2 - libarchive 3.5.2 zlib/1.2.5.f-ipp bz2lib/1.0.6

@wolfv wolfv merged commit e7e389a into mamba-org:main Jan 18, 2023
@wolfv
Copy link
Member

wolfv commented Jan 22, 2023

Hmmmmm, can you double check this for me?

On a windows server installation I can access, teh windows shipped tar doesn't have bzip2 support (see screenshot).

Screenshot 2023-01-22 at 01 13 07

@Tiksagol
Copy link
Contributor Author

Tiksagol commented Jan 23, 2023

Hmmmmm, can you double check this for me?

On a windows server installation I can access, teh windows shipped tar doesn't have bzip2 support (see screenshot).

Screenshot 2023-01-22 at 01 13 07

Seems like it has, as in my laptop it works and returned the same output (its end seems to be removed from your screenshot) -

c:\Windows\System32>.\tar.exe --version
bsdtar 3.5.2 - libarchive 3.5.2 zlib/1.2.5.f-ipp bz2lib/1.0.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants