How To Install aolserver4-nssha1 on Ubuntu 18.04

In this tutorial we learn how to install aolserver4-nssha1 on Ubuntu 18.04. aolserver4-nssha1 is AOLserver4 module

Introduction

In this tutorial we learn how to install aolserver4-nssha1 on Ubuntu 18.04.

What is aolserver4-nssha1

aolserver4-nssha1 is:

infrastructure for generating SHA1 hashes. This mini-library is based on the NIST Secure Hash Algorithm implementation by Peter C. Gutmann

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

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

sudo apt-get update

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

sudo apt-get -y install aolserver4-nssha1

Install aolserver4-nssha1 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install aolserver4-nssha1

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

sudo aptitude -y install aolserver4-nssha1

How To Uninstall aolserver4-nssha1 on Ubuntu 18.04

To uninstall only the aolserver4-nssha1 package we can use the following command:

sudo apt-get remove aolserver4-nssha1

Uninstall aolserver4-nssha1 And Its Dependencies

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

sudo apt-get -y autoremove aolserver4-nssha1

Remove aolserver4-nssha1 Configurations and Data

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

sudo apt-get -y purge aolserver4-nssha1

Remove aolserver4-nssha1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge aolserver4-nssha1

References

Summary

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