How To Install summain on Ubuntu 18.04
Introduction
In this tutorial we learn how to install summain on Ubuntu 18.04.
What is summain
summain is:
Summain generates file manifests, which contain metadata about the files, and a checksum of their content for regular files. The manifest can be generated for a directory tree at different points in time and compared (with diff) to see if something has changed.
There are three methods to install summain 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 summain Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install summain using apt-get by running the following command:
sudo apt-get -y install summain
Install summain Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install summain using apt by running the following command:
sudo apt -y install summain
Install summain 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 summain using aptitude by running the following command:
sudo aptitude -y install summain
How To Uninstall summain on Ubuntu 18.04
To uninstall only the summain package we can use the following command:
sudo apt-get remove summain
Uninstall summain And Its Dependencies
To uninstall summain and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove summain
Remove summain Configurations and Data
To remove summain configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge summain
Remove summain configuration, data, and all of its dependencies
We can use the following command to remove summain configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge summain
References
Summary
In this tutorial we learn how to install summain package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.