How To Install libghc-inspection-testing-doc on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libghc-inspection-testing-doc on Ubuntu 20.04.
What is libghc-inspection-testing-doc
libghc-inspection-testing-doc is:
Some carefully crafted libraries make promises to their users beyond functionality and performance.
Examples are: Fusion libraries promise intermediate data structures to be eliminated. Generic programming libraries promise that the generic implementation is identical to the hand-written one. Some libraries may promise allocation-free or branch-free code.
Conventionally, the modus operandi in all these cases is that the library author manually inspects the (intermediate or final) code produced by the compiler. This is not only tedious, but makes it very likely that some change, either in the library itself or the surrounding eco-system, breaks the library’s promised without anyone noticing.
This package provides a disciplined way of specifying such properties, and have them checked by the compiler. This way, this checking can be part of the ususal development cycle and regressions caught early.
This package provides the documentation for a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
There are three methods to install libghc-inspection-testing-doc on Ubuntu 20.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-inspection-testing-doc 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-inspection-testing-doc using apt-get by running the following command:
sudo apt-get -y install libghc-inspection-testing-doc
Install libghc-inspection-testing-doc Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libghc-inspection-testing-doc using apt by running the following command:
sudo apt -y install libghc-inspection-testing-doc
Install libghc-inspection-testing-doc 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-inspection-testing-doc using aptitude by running the following command:
sudo aptitude -y install libghc-inspection-testing-doc
How To Uninstall libghc-inspection-testing-doc on Ubuntu 20.04
To uninstall only the libghc-inspection-testing-doc package we can use the following command:
sudo apt-get remove libghc-inspection-testing-doc
Uninstall libghc-inspection-testing-doc And Its Dependencies
To uninstall libghc-inspection-testing-doc and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libghc-inspection-testing-doc
Remove libghc-inspection-testing-doc Configurations and Data
To remove libghc-inspection-testing-doc configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libghc-inspection-testing-doc
Remove libghc-inspection-testing-doc configuration, data, and all of its dependencies
We can use the following command to remove libghc-inspection-testing-doc configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-inspection-testing-doc
References
Summary
In this tutorial we learn how to install libghc-inspection-testing-doc package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.