How To Install libghc-acid-state-doc on Ubuntu 22.04

Hostnbit

In this tutorial we learn how to install libghc-acid-state-doc on Ubuntu 22.04. libghc-acid-state-doc is Haskell database library with ACID guarantees – documentation; documentation

Introduction

In this tutorial we learn how to install libghc-acid-state-doc on Ubuntu 22.04.

What is libghc-acid-state-doc

libghc-acid-state-doc is:

AcidState is a Haskell library to store serializable Haskell
structures, guaranteeing that transactions support the ACID
semantic. That is, they must be atomic (a transaction must be
completely saved or completely rolled back), consistent (after each
transaction the state of the database must be valid), isolated (two
parallel transaction must not interfere with each other) and durable
(a successful transaction must be reliably stored to a persistent
memory).

This library supports both storing data on the local disk and via a
network server.

This package provides the documentation for a library for the Haskell
programming language.
See http://www.haskell.org/ for more information on Haskell. It obsoletes the package
haskell-happstack-state.

There are three methods to install libghc-acid-state-doc on Ubuntu 22.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-acid-state-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-acid-state-doc using apt-get by running the following command:

sudo apt-get -y install libghc-acid-state-doc

Install libghc-acid-state-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libghc-acid-state-doc using apt by running the following command:

sudo apt -y install libghc-acid-state-doc

Install libghc-acid-state-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-acid-state-doc using aptitude by running the following command:

sudo aptitude -y install libghc-acid-state-doc

How To Uninstall libghc-acid-state-doc on Ubuntu 22.04

To uninstall only the libghc-acid-state-doc package we can use the following command:

sudo apt-get remove libghc-acid-state-doc

Uninstall libghc-acid-state-doc And Its Dependencies

To uninstall libghc-acid-state-doc and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove libghc-acid-state-doc

Remove libghc-acid-state-doc Configurations and Data

To remove libghc-acid-state-doc configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge libghc-acid-state-doc

Remove libghc-acid-state-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libghc-acid-state-doc

References

Summary

In this tutorial we learn how to install libghc-acid-state-doc package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top