How To Install libghc-incremental-parser-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libghc-incremental-parser-dev
on Ubuntu 20.04.
What is libghc-incremental-parser-dev
libghc-incremental-parser-dev is:
Incremental parsers can provide partial results from partial input. This parser library is implemented using the concept of Brzozowski derivatives, tweaked and optimized to work with any monoidal input type. Lists, ByteString, and Text are supported out of the box, as well as any other data type for which the monoid-subclasses package defines instances. If the parser result is also a monoid, the parser can provide it incrementally, before the complete input is parsed.
This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell. Ghc-Package: incremental-parser-0.3.2.2-CBQZRbMfL8jKiK5JATsJQN
There are three methods to install libghc-incremental-parser-dev
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-incremental-parser-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-incremental-parser-dev
using apt-get
by running the following command:
sudo apt-get -y install libghc-incremental-parser-dev
Install libghc-incremental-parser-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-incremental-parser-dev
using apt
by running the following command:
sudo apt -y install libghc-incremental-parser-dev
Install libghc-incremental-parser-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-incremental-parser-dev
using aptitude
by running the following command:
sudo aptitude -y install libghc-incremental-parser-dev
How To Uninstall libghc-incremental-parser-dev on Ubuntu 20.04
To uninstall only the libghc-incremental-parser-dev
package we can use the following command:
sudo apt-get remove libghc-incremental-parser-dev
Uninstall libghc-incremental-parser-dev And Its Dependencies
To uninstall libghc-incremental-parser-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libghc-incremental-parser-dev
Remove libghc-incremental-parser-dev Configurations and Data
To remove libghc-incremental-parser-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libghc-incremental-parser-dev
Remove libghc-incremental-parser-dev configuration, data, and all of its dependencies
We can use the following command to remove libghc-incremental-parser-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-incremental-parser-dev
References
Summary
In this tutorial we learn how to install libghc-incremental-parser-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.