How To Install libghc-nonce-prof on Ubuntu 18.04

In this tutorial we learn how to install libghc-nonce-prof on Ubuntu 18.04. libghc-nonce-prof is generate cryptographic nonces; profiling libraries

Introduction

In this tutorial we learn how to install libghc-nonce-prof on Ubuntu 18.04.

What is libghc-nonce-prof

libghc-nonce-prof is:

According to the Wikipedia, a nonce is an arbitrary number used only once in a cryptographic communication. This package contain helper functions for generating nonces.

There are many kinds of nonces used in different situations. It’s not guaranteed that by using the nonces from this package you won’t have any security issues. Please make sure that the nonces generated via this package are usable on your design. . This package provides a library for the Haskell programming language, compiled for profiling. See http://www.haskell.org/ for more information on Haskell.

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

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

sudo apt-get update

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

sudo apt-get -y install libghc-nonce-prof

Install libghc-nonce-prof Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libghc-nonce-prof using apt by running the following command:

sudo apt -y install libghc-nonce-prof

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

sudo aptitude -y install libghc-nonce-prof

How To Uninstall libghc-nonce-prof on Ubuntu 18.04

To uninstall only the libghc-nonce-prof package we can use the following command:

sudo apt-get remove libghc-nonce-prof

Uninstall libghc-nonce-prof And Its Dependencies

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

sudo apt-get -y autoremove libghc-nonce-prof

Remove libghc-nonce-prof Configurations and Data

To remove libghc-nonce-prof configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libghc-nonce-prof

Remove libghc-nonce-prof configuration, data, and all of its dependencies

We can use the following command to remove libghc-nonce-prof configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libghc-nonce-prof

References

Summary

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