deno_install icon indicating copy to clipboard operation
deno_install copied to clipboard

Remove Linux installer's dependency on unzip

Open janie314 opened this issue 2 years ago • 3 comments

Currently, our Linux installation workflow requires a dependency not installed by default on popular distros like Fedora and Ubuntu: the unzip command.

I propose that our primary Linux build be changed to a tar.gz file, to remove this dependency. Any installation commands that use unzip will be easily replaced by a corresponding tar command.

This is a simple issue, but I think it is worth doing. I think it will make installing Deno just a little bit more frictionless, which in turn might just get us one more enthusiastic, creative user. There are reasonable scenarios in which this might prevent one from using Deno. E.g.- what if you don't have sudo access on a Linux workstation without unzip? Then you probably can't install Deno.

janie314 avatar Nov 25 '23 02:11 janie314

Uff. Yeah, I was trying to install on Linux, but was also tripped up by the missing .tar.gz archive. The standard archive for Linux is tar.gz or tar.xz.

It's kinda a funny situation because I thought Deno 2.0 was supposed to reduce the number of dependencies I had to install. I definitely don't want to install unzip just for Deno.

tgf9 avatar Oct 16 '24 22:10 tgf9

Yup, this is irking me too. I don't see a good reason not to provide Linux binaries in a tarball like everything else does on Linux.

Conduitry avatar Oct 20 '24 15:10 Conduitry

This is documented as a "known issue" in the README. Therefore, this is worth fixing. I could make a PR myself if I get a thumbs up that it would be OK'd!

janie314 avatar Aug 12 '25 23:08 janie314