mscompress command not found

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

Introduction

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

mscompress: command not found

or when using sudo you get the following error message

sudo: mscompress: command not found

Solutions to mscompress: command not found

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

In Ubuntu mscompress is provided by mscompress package.

mscompress is:

This package contains two programs:

  • msexpand which decompresses files compressed by the Microsoft compress.exe utility (e.g. Win 3.x installation files);
  • mscompress which compresses files using the LZ77 compression algorithm.

Files can be decompressed using Microsoft expand.exe or msexpand(1).

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

sudo apt-get -y install mscompress

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

You can also use apt command to install mscompress.

sudo apt -y install mscompress

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

sudo aptitude install mscompress

Summary

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