How To Install msitools on Debian 9

In this tutorial we learn how to install msitools on Debian 9. msitools is Windows Installer file manipulation tool

Introduction

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

What is msitools

msitools is:

msitools contains a number of programs to create, inspect and extract Windows Installer (.msi) files.

The following tools are included:

  • msiinfo: inspects MSI packages
  • msibuild: builds MSI packages
  • msidiff: compares two MSI packages’ contents
  • msidump: dumps raw MSI tables and stream contents
  • msiextract: extracts files contained in MSI packages

There are three methods to install msitools 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 msitools Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install msitools

Install msitools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install msitools

Install msitools 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 msitools using aptitude by running the following command:

sudo aptitude -y install msitools

How To Uninstall msitools on Debian 9

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

sudo apt-get remove msitools

Uninstall msitools And Its Dependencies

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

sudo apt-get -y autoremove msitools

Remove msitools Configurations and Data

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

sudo apt-get -y purge msitools

Remove msitools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge msitools

Dependencies

msitools have the following dependencies:

References

Summary

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