How To Install libmspack0 on Debian 9

In this tutorial we learn how to install libmspack0 on Debian 9. libmspack0 is library for Microsoft compression formats (shared library)

Introduction

In this tutorial we learn how to install libmspack0 on Debian 9.

What is libmspack0

libmspack0 is:

The purpose of libmspack is to provide both compression and decompression of some loosely related file formats used by Microsoft. The intention is to support all of the following formats: COMPRESS.EXE [SZDD], Microsoft Help (.HLP), COMPRESS.EXE [KWAJ], Microsoft Cabinet (.CAB), HTML Help (.CHM), Microsoft eBook (.LIT), Windows Imaging Format (.WIM), Exchange Offline Address Book (.LZX).

There are three methods to install libmspack0 on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libmspack0 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libmspack0 using apt-get by running the following command:

sudo apt-get -y install libmspack0

Install libmspack0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libmspack0 using apt by running the following command:

sudo apt -y install libmspack0

Install libmspack0 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libmspack0 using aptitude by running the following command:

sudo aptitude -y install libmspack0

How To Uninstall libmspack0 on Debian 9

To uninstall only the libmspack0 package we can use the following command:

sudo apt-get remove libmspack0

Uninstall libmspack0 And Its Dependencies

To uninstall libmspack0 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libmspack0

Remove libmspack0 Configurations and Data

To remove libmspack0 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libmspack0

Remove libmspack0 configuration, data, and all of its dependencies

We can use the following command to remove libmspack0 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libmspack0

Dependencies

libmspack0 have the following dependencies:

References

Summary

In this tutorial we learn how to install libmspack0 package on Debian 9 using different package management tools: apt, apt-get and aptitude.