How To Install check-manifest on Ubuntu 18.04

In this tutorial we learn how to install check-manifest on Ubuntu 18.04. check-manifest is Tool to check the completeness of MANIFEST.in for Python packages (Python 3)

Introduction

In this tutorial we learn how to install check-manifest on Ubuntu 18.04.

What is check-manifest

check-manifest is:

The check-manifest tool performs a check on a MANIFEST.in file from a Python project and verifies its completeness. It can also create a MANIFEST.in file from scratch or append suggestions to it, and the user can also ignore certain patterns if needed.

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

Install check-manifest Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install check-manifest

Install check-manifest Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install check-manifest

Install check-manifest 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install check-manifest

How To Uninstall check-manifest on Ubuntu 18.04

To uninstall only the check-manifest package we can use the following command:

sudo apt-get remove check-manifest

Uninstall check-manifest And Its Dependencies

To uninstall check-manifest and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove check-manifest

Remove check-manifest Configurations and Data

To remove check-manifest configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge check-manifest

Remove check-manifest configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge check-manifest

References

Summary

In this tutorial we learn how to install check-manifest package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.