How to unzip on Amazon Linux 2?

Viewed 12854

I have a file names awscliv2.zip and I'm trying to unzip it.

So first I tried:

unzip awscliv2.zip

But got:

-bash: unzip: command not found

And then I tried:

tar xvf awscliv2.zip

But got:

tar: This does not look like a tar archive

tar: Skipping to next header

tar: Exiting with failure status due to previous errors

1 Answers

You can install unzip using:

sudo yum install unzip
Related