How To Install python-libsigscan on Debian 9

In this tutorial we learn how to install python-libsigscan on Debian 9. python-libsigscan is binary signature scanning library – Python 2 bindings

Introduction

In this tutorial we learn how to install python-libsigscan on Debian 9.

What is python-libsigscan

python-libsigscan is:

libsigscan is a library for binary signature scanning, using simple offset/string-based signatures.

This package contains Python 2 bindings for libsigscan.

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

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

sudo apt-get update

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

sudo apt-get -y install python-libsigscan

Install python-libsigscan Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-libsigscan

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

sudo aptitude -y install python-libsigscan

How To Uninstall python-libsigscan on Debian 9

To uninstall only the python-libsigscan package we can use the following command:

sudo apt-get remove python-libsigscan

Uninstall python-libsigscan And Its Dependencies

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

sudo apt-get -y autoremove python-libsigscan

Remove python-libsigscan Configurations and Data

To remove python-libsigscan configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-libsigscan

Remove python-libsigscan configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-libsigscan

Dependencies

python-libsigscan have the following dependencies:

References

Summary

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