How To Install libghc-store-prof on Debian 11
Introduction
In this tutorial we learn how to install libghc-store-prof
on Debian 11.
What is libghc-store-prof
libghc-store-prof is:
The ‘store’ package provides efficient binary serialization. There are a couple features that particularly distinguish it from most prior Haskell serialization libraries:
- Its primary goal is speed. By default, direct machine representations are used for things like numeric values (Int, Double, Word32, etc) and buffers (Text, ByteString, Vector, etc). This means that much of serialization uses the equivalent of memcpy.
- Instead of implementing lazy serialization / deserialization involving multiple input / output buffers, peek and poke always work with a single buffer. This buffer is allocated by asking the value for its size before encoding. This simplifies the encoding logic, and allows for highly optimized tight loops.
- store can optimize size computations by knowing when some types always
use the same number of bytes. This allows for computing the byte size
of a
Vector Int32
by just doinglength v * 4
.
It also features:
- Optimized serialization instances for many types from base, vector, bytestring, text, containers, time, template-haskell, and more.
- TH and GHC Generics based generation of Store instances for datatypes
- TH generation of testcases
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-store-prof
on Debian 11. 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-store-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-store-prof
using apt-get
by running the following command:
sudo apt-get -y install libghc-store-prof
Install libghc-store-prof Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-store-prof
using apt
by running the following command:
sudo apt -y install libghc-store-prof
Install libghc-store-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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libghc-store-prof
using aptitude
by running the following command:
sudo aptitude -y install libghc-store-prof
How To Uninstall libghc-store-prof on Debian 11
To uninstall only the libghc-store-prof
package we can use the following command:
sudo apt-get remove libghc-store-prof
Uninstall libghc-store-prof And Its Dependencies
To uninstall libghc-store-prof
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libghc-store-prof
Remove libghc-store-prof Configurations and Data
To remove libghc-store-prof
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libghc-store-prof
Remove libghc-store-prof configuration, data, and all of its dependencies
We can use the following command to remove libghc-store-prof
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-store-prof
Dependencies
libghc-store-prof have the following dependencies:
- libghc-store-dev
- libghc-array-prof-0.5.4.0-ddbb2
- libghc-async-prof-2.2.2-97ad7
- libghc-base-prof-4.13.0.0-2f220
- libghc-base-orphans-prof-0.8.2-50da5
- libghc-base64-bytestring-prof-1.0.0.3-39c3c
- libghc-bifunctors-prof-5.5.7-a016f
- libghc-bytestring-prof-0.10.10.1-c40ee
- libghc-containers-prof-0.6.2.1-ab1cf
- libghc-contravariant-prof-1.5.2-c823f
- libghc-cryptohash-prof-0.11.9-3dde8
- libghc-deepseq-prof-1.4.4.0-9f093
- libghc-directory-prof-1.3.6.0-49fdf
- libghc-filepath-prof-1.4.2.1-103b6
- libghc-free-prof-5.1.3-b36cb
- libghc-ghc-prim-prof-0.5.3-49209
- libghc-hashable-prof-1.3.0.0-d5f3c
- libghc-hspec-prof-2.7.1-8fdf5
- libghc-hspec-smallcheck-prof-0.5.2-25fa5
- libghc-integer-gmp-prof-1.0.2.0-fa0ae
- libghc-lifted-base-prof-0.2.3.12-b160e
- libghc-monad-control-prof-1.0.2.3-d0848
- libghc-mono-traversable-prof-1.0.15.1-824b6
- libghc-network-prof-3.1.1.1-464ab
- libghc-primitive-prof-0.7.0.1-fc459
- libghc-resourcet-prof-1.2.4.2-304bf
- libghc-safe-prof-0.3.19-7ae12
- libghc-smallcheck-prof-1.1.7-48789
- libghc-store-core-prof-0.4.4.3-b22b7
- libghc-syb-prof-0.7.1-bb80c
- libghc-template-haskell-prof-2.15.0.0-80f0d
- libghc-text-prof-1.2.4.0-a7a6e
- libghc-th-lift-prof-0.8.1-b46b3
- libghc-th-lift-instances-prof-0.1.17-6cd28
- libghc-th-orphans-prof-0.13.10-a7c46
- libghc-th-reify-many-prof-0.1.9-3da7a
- libghc-th-utilities-prof-0.2.4.0-9a2e8
- libghc-time-prof-1.9.3-1ee94
- libghc-transformers-prof-0.5.6.2-59c2c
- libghc-unordered-containers-prof-0.2.10.0-71273
- libghc-vector-prof-0.12.1.2-29734
- libghc-void-prof-0.7.3-915a7
References
Summary
In this tutorial we learn how to install libghc-store-prof
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.