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

Hostnbit

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

Introduction

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

What is libghc-acid-state-prof

libghc-acid-state-prof 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 a library for the Haskell programming language, compiled
for profiling. 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-prof 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-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-acid-state-prof using apt-get by running the following command:

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

Install libghc-acid-state-prof Using apt

Update apt database with apt using the following command.

sudo apt update

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

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

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

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

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

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

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

Uninstall libghc-acid-state-prof And Its Dependencies

To uninstall libghc-acid-state-prof 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-prof

Remove libghc-acid-state-prof Configurations and Data

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

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

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

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

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

References

Summary

In this tutorial we learn how to install libghc-acid-state-prof 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