I am trying to extract a password protected .7z file with p7zip -d filename.7z command. Unlike on Windows, on Ubuntu I do not get a prompt to enter password. Instead the terminal throws an E_NOTIMPL error. Could it be that the file is corrupted? Or am I doing it wrong?

  • Wonderful! I've converted my comment to an answer. – Thomas Ward Dec 25 '15 at 2:32

There is a known bug/limitation in p7zip, in which it cannot work with password-protected encrypted files (technically by design as a 'lighter' kind of 7zip), and throws the error you've stated here when it tries to work with them.

The correct approach for encrypted/passwords 7z files is to use p7zip-full instead of p7zip, which should then work as it should.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.