How To Install python3-ofxparse on Debian 9

In this tutorial we learn how to install python3-ofxparse on Debian 9. python3-ofxparse is parser for Open Financial Exchange (.ofx) format files

Introduction

In this tutorial we learn how to install python3-ofxparse on Debian 9.

What is python3-ofxparse

python3-ofxparse is:

ofxparse is a parser for Open Financial Exchange (.ofx) format files. OFX files are available from almost any online banking site, so they work well if you want to pull together your finances from multiple sources. Online trading accounts also provide account statements in OFX files.

There are three different types of OFX files, called BankAccount, CreditAccount and InvestmentAccount files. This library has been tested with real-world samples of all three types. If you find a file that does not work with this library, please consider contributing the file so ofxparse can be improved. See the Help! section below for directions on how to do this.

There are three methods to install python3-ofxparse 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 python3-ofxparse Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python3-ofxparse

Install python3-ofxparse Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-ofxparse

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

sudo aptitude -y install python3-ofxparse

How To Uninstall python3-ofxparse on Debian 9

To uninstall only the python3-ofxparse package we can use the following command:

sudo apt-get remove python3-ofxparse

Uninstall python3-ofxparse And Its Dependencies

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

sudo apt-get -y autoremove python3-ofxparse

Remove python3-ofxparse Configurations and Data

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

sudo apt-get -y purge python3-ofxparse

Remove python3-ofxparse configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-ofxparse

Dependencies

python3-ofxparse have the following dependencies:

References

Summary

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