How To Install libghc-ofx-dev on Kali Linux

In this tutorial we learn how to install libghc-ofx-dev on Kali Linux. libghc-ofx-dev is parser for Open Financial Exchange (OFX) financial data

Introduction

In this tutorial we learn how to install libghc-ofx-dev on Kali Linux.

What is libghc-ofx-dev

libghc-ofx-dev is:

A parser for Open Financial Exchange (OFX) financial data. This handles OFX version 1.03, which is documented at http://www.ofx.net/ . This also handles QFX, which is OFX plus some minor additions made by Intuit, the publishers of Quicken.

The parser will place all the data into a tree, which you can query for whatever data you may need, although you will need to be familiar with the OFX spec to do this. There is also a Transaction type which you can easily parse from the tree; this will contain most, if not all, of the data you will be interested in if your OFX file is from a bank or credit card account.

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-ofx-dev on Kali Linux. 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-ofx-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-ofx-dev using apt-get by running the following command:

sudo apt-get -y install libghc-ofx-dev

Install libghc-ofx-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libghc-ofx-dev using apt by running the following command:

sudo apt -y install libghc-ofx-dev

Install libghc-ofx-dev Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libghc-ofx-dev using aptitude by running the following command:

sudo aptitude -y install libghc-ofx-dev

How To Uninstall libghc-ofx-dev on Kali Linux

To uninstall only the libghc-ofx-dev package we can use the following command:

sudo apt-get remove libghc-ofx-dev

Uninstall libghc-ofx-dev And Its Dependencies

To uninstall libghc-ofx-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libghc-ofx-dev

Remove libghc-ofx-dev Configurations and Data

To remove libghc-ofx-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libghc-ofx-dev

Remove libghc-ofx-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libghc-ofx-dev

Dependencies

libghc-ofx-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libghc-ofx-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.