How To Install libghc-xcb-types-prof on Ubuntu 18.04

In this tutorial we learn how to install libghc-xcb-types-prof on Ubuntu 18.04. libghc-xcb-types-prof is parses XML files used by the XCB project; profiling libraries

Introduction

In this tutorial we learn how to install libghc-xcb-types-prof on Ubuntu 18.04.

What is libghc-xcb-types-prof

libghc-xcb-types-prof is:

This package provides types which mirror the structures used in the XCB code generation XML files.

See project http://xcb.freedesktop.org/ for more information about the XCB project.

The XML files describe the data-types, events and requests used by the X Protocol, and are used to auto-generate large parts of the XCB project.

This package parses these XML files into Haskell data structures.

If you want to do something with these XML descriptions but don’t want to learn XSLT, this package should help.

This version of xcb-types is intended to fully parse the X Protocol description version 1.4.

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-xcb-types-prof on Ubuntu 18.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-xcb-types-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-xcb-types-prof using apt-get by running the following command:

sudo apt-get -y install libghc-xcb-types-prof

Install libghc-xcb-types-prof Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libghc-xcb-types-prof

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

sudo aptitude -y install libghc-xcb-types-prof

How To Uninstall libghc-xcb-types-prof on Ubuntu 18.04

To uninstall only the libghc-xcb-types-prof package we can use the following command:

sudo apt-get remove libghc-xcb-types-prof

Uninstall libghc-xcb-types-prof And Its Dependencies

To uninstall libghc-xcb-types-prof and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libghc-xcb-types-prof

Remove libghc-xcb-types-prof Configurations and Data

To remove libghc-xcb-types-prof configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libghc-xcb-types-prof

Remove libghc-xcb-types-prof configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libghc-xcb-types-prof

References

Summary

In this tutorial we learn how to install libghc-xcb-types-prof package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.