How To Install python-ofxhome on Debian 9

In this tutorial we learn how to install python-ofxhome on Debian 9. python-ofxhome is ofxhome.com financial institution lookup REST client

Introduction

In this tutorial we learn how to install python-ofxhome on Debian 9.

What is python-ofxhome

python-ofxhome is:

ofxhome is a REST client for the web service provided by ofxhome.com.

ofxhome.com provides a way to discover the Open Financial Exchange (OFX) URLs and financial institution IDs for banks and other financial institutions.

ofxhome is a sort of “DNS” for financial institution OFX URLs and IDs.

This client by itself is not all that useful unless you are coupling it with software that needs this lookup capability.

There are three methods to install python-ofxhome on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-ofxhome Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python-ofxhome using apt-get by running the following command:

sudo apt-get -y install python-ofxhome

Install python-ofxhome Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-ofxhome using apt by running the following command:

sudo apt -y install python-ofxhome

Install python-ofxhome 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 python-ofxhome using aptitude by running the following command:

sudo aptitude -y install python-ofxhome

How To Uninstall python-ofxhome on Debian 9

To uninstall only the python-ofxhome package we can use the following command:

sudo apt-get remove python-ofxhome

Uninstall python-ofxhome And Its Dependencies

To uninstall python-ofxhome and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-ofxhome

Remove python-ofxhome Configurations and Data

To remove python-ofxhome configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-ofxhome

Remove python-ofxhome configuration, data, and all of its dependencies

We can use the following command to remove python-ofxhome configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-ofxhome

Dependencies

python-ofxhome have the following dependencies:

References

Summary

In this tutorial we learn how to install python-ofxhome package on Debian 9 using different package management tools: apt, apt-get and aptitude.