How To Install smistrip on Debian 9

In this tutorial we learn how to install smistrip on Debian 9. smistrip is extract MIB from text files like RFC

Introduction

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

What is smistrip

smistrip is:

The smistrip program is used to extract MIB and PIB module files from ASCII documents like RFCs or Internet Drafts. Modules are identified by a starting ASN.1 DEFINITIONS clause and the matching END clause. The output is written to files named by the modules’ names.

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

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

sudo apt-get update

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

sudo apt-get -y install smistrip

Install smistrip Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install smistrip

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

sudo aptitude -y install smistrip

How To Uninstall smistrip on Debian 9

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

sudo apt-get remove smistrip

Uninstall smistrip And Its Dependencies

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

sudo apt-get -y autoremove smistrip

Remove smistrip Configurations and Data

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

sudo apt-get -y purge smistrip

Remove smistrip configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge smistrip

Dependencies

smistrip have the following dependencies:

References

Summary

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