7zz command not found

In this troubleshooting guide we learn how to fix 7zz command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

7zz: command not found

or when using sudo you get the following error message

sudo: 7zz: command not found

Solutions to 7zz: command not found

How To Fix 7zz: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu 7zz is provided by 7zip package.

7zip is:

7-Zip is a file archiver with a high compression ratio. The main features of 7-Zip are:

  • High compression ratio in 7z format with LZMA and LZMA2 compression
  • Supported formats:
    • Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM
    • Unpacking only: AR, ARJ, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RPM, SquashFS, UDF, UEFI, VDI, VHD, VMDK, WIM, XAR and Z.
  • For ZIP and GZIP formats, 7-Zip provides a compression ratio that is 2-10 % better than the ratio provided by PKZip and WinZip
  • Strong AES-256 encryption in 7z and ZIP formats
  • Powerful command line version

Note: The unRAR code was dropped to keep compatible with DFSG.

To fix this problem, we can install more using the command below.

sudo apt-get -y install 7zip

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install 7zip.

sudo apt -y install 7zip

Or if you have aptitude installed you can use the following command.

sudo aptitude install 7zip

Summary

In this tutorial we learn how to fix 7zz command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.