How To Install python-ofxparse on Ubuntu 18.04
Introduction
In this tutorial we learn how to install python-ofxparse
on Ubuntu 18.04.
What is python-ofxparse
python-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 python-ofxparse
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 python-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 python-ofxparse
using apt-get
by running the following command:
sudo apt-get -y install python-ofxparse
Install python-ofxparse Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-ofxparse
using apt
by running the following command:
sudo apt -y install python-ofxparse
Install python-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install python-ofxparse
using aptitude
by running the following command:
sudo aptitude -y install python-ofxparse
How To Uninstall python-ofxparse on Ubuntu 18.04
To uninstall only the python-ofxparse
package we can use the following command:
sudo apt-get remove python-ofxparse
Uninstall python-ofxparse And Its Dependencies
To uninstall python-ofxparse
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove python-ofxparse
Remove python-ofxparse Configurations and Data
To remove python-ofxparse
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge python-ofxparse
Remove python-ofxparse configuration, data, and all of its dependencies
We can use the following command to remove python-ofxparse
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-ofxparse
References
Summary
In this tutorial we learn how to install python-ofxparse
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.