Skip to content

decompress password protected zip file

Problem

Sometimes decompressing password protected zip file with unzip failed with the following prompt

unsupported compression method 99

Solution

On MacOS, could install p7zip with brew

brew install p7zip

On Linux Debian/Ubuntu

sudo apt-get install p7zip-full

and retry with 7z command

7z x archive.zip -pYOURPASSWORD