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

Provide .exe and .tar releases #6505

Closed
MarkTiedemann opened this issue Jun 26, 2020 · 3 comments
Closed

Provide .exe and .tar releases #6505

MarkTiedemann opened this issue Jun 26, 2020 · 3 comments

Comments

@MarkTiedemann
Copy link
Contributor

MarkTiedemann commented Jun 26, 2020

ref: denoland/deno_install#130

As witnessed in #5727 and #129, people may not expect Deno to just be an .exe in a .zip.

ref: denoland/deno_install#153

tar is installed by default on Windows 10 since early 2018. unzip is not installed by default. Instead, unzipping requires using PowerShell cmdlets or Windows Script Host shenanigans. Providing a .tar.gz release would allow custom installations to just curl and untar a Deno release. (Extracting .tar.xz doesn't work on Windows. Only .tar.gz is supported.)

Not sure about Mac and Linux, but I'd guess that tar is more common on those platforms than zip.

Note that I'm not saying that we should get rid of .zip releases. I'm suggesting to provide binary and .tar releases in addition to the .zip releases.

@jsejcksn
Copy link
Contributor

This is a very reasonable request. The source code is already being released in zip and tar.gz formats.

I also like that you gave a 👍 to your own post 😄 .

@MarkTiedemann
Copy link
Contributor Author

Just learned that tar on Windows supports extracting .zip files out of the box.

C:\dev>curl -LO https://github.com/denoland/deno/releases/download/v1.1.2/deno-x86_64-pc-windows-msvc.zip
C:\dev>tar xf deno-x86_64-pc-windows-msvc.zip
C:\dev>.\deno -V
deno 1.1.2

This removes the paint point of unzip not being available.

@jsejcksn
Copy link
Contributor

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

No branches or pull requests

2 participants