Ubuntu – How to unzip “.zip” files

command linegamesunzip

I downloaded some files from the web but I can't figure out how to access them…

I'm going to have to go without Internet service for a week since other bills require my attention more. I was really bummed, Steam lacks a lot of free Linux games, but then I thought of Gamejolt! I went to the sight, found a few games and thought "What the heck? I might as well give 'em a try for a week."

I download two games and both came in .zip files, the second being a ".zip.part" file-whatever that means.

I can't open them in archive manager and I can't run them as a Wine application either. I looked for an answer to unzip .zip files and I haven't found a helpful answer, nor a recent one. Some people said to install the unzip command, I attempt to do so and something goes wrong. I try the unzip command, thinking that maybe I already had it, and something goes wrong. How do I unzip these games? I have maybe a day left before it gets turned off and I'm growing concerned.

When I try to install unzip, I get this:

*E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)*

*E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?*

When I try to unzip the program, I get this:

*unzip:  cannot find or open renryuu-ascension-17.05.15-linux-version.zip.part, renryuu-ascension-17.05.15-linux-version.zip.part.zip or renryuu-ascension-17.05.15-linux-version.zip.part.ZIP.*

When I try to unzip the program without the ".part" piece, I get this:

*unzip:  cannot find or open renryuu-ascension-17.05.15-linux-version.zip, renryuu-ascension-17.05.15-linux-version.zip.zip or renryuu-ascension-17.05.15-linux-version.zip.ZIP.*

Please help me, the answer may be obvious but I really am new to the command line thing…

Best Answer

The first issue on installing unzip is because of insufficient permissions. Chances are that you might have tried to install unzip with apt-get install unzip. This is not enough. You need to install unzip by:

sudo apt-get install unzip

Chances are that unzip already exists in your system. It would be the most common scenario. You can verify the install by the command

which unzip

For your second issue, you are seeing a .zip.part extension because the the zip file was not completely downloaded. You can either try to download it again from the same source or choose a different source.

Related Question