How To Install libghc-stringprep-dev on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libghc-stringprep-dev
on Ubuntu 22.04.
What is libghc-stringprep-dev
libghc-stringprep-dev is:
RFC 3454 describes a framework for preparing Unicode text strings in order to increase the likelihood that string input and string comparison work in ways that make sense for typical users throughout the world. The stringprep protocol is useful for protocol identifier values, company and personal names, internationalized domain names, and other text strings.
This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
There are three methods to install libghc-stringprep-dev
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-stringprep-dev 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-stringprep-dev
using apt-get
by running the following command:
sudo apt-get -y install libghc-stringprep-dev
Install libghc-stringprep-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-stringprep-dev
using apt
by running the following command:
sudo apt -y install libghc-stringprep-dev
Install libghc-stringprep-dev 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-stringprep-dev
using aptitude
by running the following command:
sudo aptitude -y install libghc-stringprep-dev
How To Uninstall libghc-stringprep-dev on Ubuntu 22.04
To uninstall only the libghc-stringprep-dev
package we can use the following command:
sudo apt-get remove libghc-stringprep-dev
Uninstall libghc-stringprep-dev And Its Dependencies
To uninstall libghc-stringprep-dev
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libghc-stringprep-dev
Remove libghc-stringprep-dev Configurations and Data
To remove libghc-stringprep-dev
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libghc-stringprep-dev
Remove libghc-stringprep-dev configuration, data, and all of its dependencies
We can use the following command to remove libghc-stringprep-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-stringprep-dev
References
Summary
In this tutorial we learn how to install libghc-stringprep-dev
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.