Skip to content
How to install linux packages?
Profile icon
CoffeeGuy

I am trying to unzip a file here, but when I do "unzip blabla.zip"

it says, command not found, So, i tried doing "install-pkg unzip"

and then it says "unzip: command not found"

How can I unzip that file?

You are viewing a single comment. View All
Answered by SixBeeps [earned 5 cycles]
View Answer
Profile icon
programmeruser

unzip works in bash repls. Not sure why some commands aren't available in Node.js repls.

Profile icon
SixBeeps

@CoffeeGuy
Ah, I remember now. Node.js Repls aren't on polygott yet, so they in specific don't get things like install-pkg. If you make any other kind of Repl, though, you can.

Profile icon
CoffeeGuy

@programmeruser
is there any way i can use "install-pkg" in a nodejs repl?

Profile icon
programmeruser

@CoffeeGuy
I don't think that works either.

Profile icon
CoffeeGuy

@SixBeeps
Aw man :( anyways.. cheerio!

Profile icon
SX9

@SixBeeps
how about html repls? I cant extract tar.gz

Profile icon
programmeruser

@SX9
I believe that the tar command is available, however the unzipped contents can't be accessed through the web