# Install libofx with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Library to support OFX command responses. Version 0.10.9 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libofx
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libofx
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libofx
```

  Evidence: MacPorts ports tree: devel/libofx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libofx
```

  Evidence: Alpine Linux edge package indexes: libofx from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libofx-dev
```

  Evidence: Debian stable package indexes: libofx-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install libofx
```

  Evidence: Fedora Rawhide package metadata: libofx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libofx
```

  Evidence: nixpkgs package indexes: pkgs/by-name/li/libofx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libofx
```

  Evidence: Arch Linux sync databases: libofx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libofx
```

  Evidence: openSUSE Tumbleweed package metadata: libofx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:libofx
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libofx>
- **Version:** 0.10.9
- **Source summary:** Library to support OFX command responses
- **Homepage:** <https://github.com/libofx/libofx>
- **Repository:** <https://github.com/libofx/libofx>
- **Upstream docs:** <https://github.com/libofx/libofx>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/libofx/libofx/releases/download/0.10.9/libofx-0.10.9.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ofx2qif (cli)
- ofxdump (cli)
- ofx2qif (alias)
- ofxdump (alias)

## Dependencies

- open-sp

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.10.9
- Local data: ok
- Upstream repository: https://github.com/libofx/libofx
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

libofx is an OFX banking-protocol library and utility package. It exists so personal-finance applications can parse bank, credit-card, and investment statements in OFX format without each application implementing the specification and its file-format quirks alone.

### Project history

The README says libofx began as Benoit Gregoire's end-of-degree project with the objective of adding OFX support to GnuCash. It was then made into a generic library so open-source financial software could share the same OFX parser.

The project was implemented from the OFX 1.6 specification and later grew support for OFX 2.0. Early NEWS entries show the library moving from an initial public release through a C-compatible interface, ofx2qif, OFC support, investment transaction handling, and callback-based parsing.

Later maintenance focused on the parts that matter to package users: malformed-file robustness, character encoding, DTD discovery, Direct Connect support through ofxconnect, CMake support, Windows build fixes, and memory-safety fixes.

### Adoption history

libofx became infrastructure for open-source finance software. Its own README names GnuCash as the initial motivation, and later NEWS entries refer to GnuCash bugs, AqBanking integration, KDE-reported client UID support, and package-oriented fixes.

Package-manager adoption follows from that role: users install libofx directly for command-line converters such as ofxdump and ofx2qif, while desktop finance applications use it as a parser dependency.

### How it is used

The package includes ofxdump, which prints what the library understands from an OFX response file, and ofx2qif, which converts OFX files to Quicken Interchange Format. The repository also includes ofxconnect as a sample and test application for OFX Direct Connect workflows.

Developers use libofx through a C-style interface even though the implementation is C++. The library flattens parts of the complex OFX data model into practical C data structures for transactions, accounts, balances, securities, and investment data.

### Why package nerds care

libofx is package-nerd useful because it bridges proprietary banking-export formats and Unix finance tools. It lets a small command-line pipeline or a larger accounting application read OFX without embedding an entire financial application stack.

Its long NEWS file is also a catalog of why file-format libraries stay alive for decades: banks emit strange data, standards evolve, parsers hit malformed input, and downstream applications need compatibility fixes more than new features.

### Timeline

- 2002: README copyright period begins and the README describes the project as originating from work to add OFX support to GnuCash.
- Early releases: NEWS records libofx 0.1 as the initial public release.
- 2007: NEWS records libofx 0.9.0 with version exports, DTD location support, encoding detection, Windows cross-compilation improvements, and OFX request API cleanup.
- 2017: NEWS records libofx 0.9.13 with heap-overflow and crash fixes.
- 2021: NEWS records libofx 0.10.0 with expanded investment and security handling.
- 2022: NEWS records libofx 0.10.6 adding CMake build-system support.

### Related projects

- GnuCash is the initial application named by the README as the reason libofx was started.
- AqBanking appears in the NEWS file as a related finance-connectivity project affected by libofx API and request-header changes.
- OpenSP and OpenJADE are important parser dependencies discussed in the README because libofx uses OpenSP for SGML-style OFX parsing.
- QIF and OFC are adjacent finance interchange formats supported by libofx tools or historical parser work.

### Sources

- <https://formulae.brew.sh/formula/libofx>
- <https://github.com/libofx/libofx>
- <https://raw.githubusercontent.com/libofx/libofx/master/ChangeLog>
- <https://raw.githubusercontent.com/libofx/libofx/master/NEWS>
- <https://raw.githubusercontent.com/libofx/libofx/master/README>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libofx
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - libofx-dev - 1:0.10.9-1.1+b2: normalized package name match | Debian stable package indexes: libofx-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development package for libofx7t64 | https://github.com/libofx/libofx
- Debian apt - libofx-doc - 1:0.10.9-1.1: normalized package name match | Debian stable package indexes: libofx-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for libofx7t64 | https://github.com/libofx/libofx
- Debian apt - libofx7t64 - 1:0.10.9-1.1+b2: normalized package name match | Debian stable package indexes: libofx7t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to support the Open Financial Exchange format | https://github.com/libofx/libofx
- Debian apt - ofx - 1:0.10.9-1.1+b2: normalized package name match | Debian stable package indexes: ofx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Open Financial Exchange programs | https://github.com/libofx/libofx
- Nix - libofx: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libofx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libofx-dev - 1:0.10.9-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libofx-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development package for libofx7t64 | https://github.com/libofx/libofx
- Ubuntu apt - libofx-doc - 1:0.10.9-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libofx-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for libofx7t64 | https://github.com/libofx/libofx
- Ubuntu apt - libofx7t64 - 1:0.10.9-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libofx7t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to support the Open Financial Exchange format | https://github.com/libofx/libofx
- Ubuntu apt - ofx - 1:0.10.9-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: ofx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Open Financial Exchange programs | https://github.com/libofx/libofx
- apk - libofx - 0.10.9-r1: normalized package name match | Alpine Linux edge package indexes: libofx from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | OFX banking protocol abstraction library | https://github.com/libofx/libofx
- apk - libofx-dev - 0.10.9-r1: normalized package name match | Alpine Linux edge package indexes: libofx-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | OFX banking protocol abstraction library (development files) | https://github.com/libofx/libofx
- apk - libofx-tools - 0.10.9-r1: normalized package name match | Alpine Linux edge package indexes: libofx-tools from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | OFX banking protocol abstraction library (tools) | https://github.com/libofx/libofx
- dnf - libofx - 0.10.9-9.fc45: normalized package name match | Fedora Rawhide package metadata: libofx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A library for supporting Open Financial Exchange (OFX) | https://github.com/libofx/libofx
- dnf - libofx-devel - 0.10.9-9.fc45: normalized package name match | Fedora Rawhide package metadata: libofx-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files needed for accessing OFX data | https://github.com/libofx/libofx
- dnf - ofx - 0.10.9-9.fc45: normalized package name match | Fedora Rawhide package metadata: ofx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tools for manipulating OFX data | https://github.com/libofx/libofx
- pacman - libofx - 0.10.9-2: normalized package name match | Arch Linux sync databases: libofx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | API for the OFX banking standard | https://github.com/libofx


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [open-sp](https://www.automicvault.com/pkg/brew/open-sp/) - Runtime dependency declared by Homebrew.
- [homebank](https://www.automicvault.com/pkg/brew/homebank/) - Popular package that depends on this formula.
- [bagels](https://www.automicvault.com/pkg/brew/bagels/) - Shares av.db curated category or tags: cli, finance, productivity.
- [fava](https://www.automicvault.com/pkg/brew/fava/) - Shares av.db curated category or tags: cli, finance, productivity.
- [hledger](https://www.automicvault.com/pkg/brew/hledger/) - Shares av.db curated category or tags: cli, finance, productivity.
- [invoice](https://www.automicvault.com/pkg/brew/invoice/) - Shares av.db curated category or tags: cli, finance, productivity.
- [pytr](https://www.automicvault.com/pkg/brew/pytr/) - Shares av.db curated category or tags: cli, finance, productivity.
- [rustledger](https://www.automicvault.com/pkg/brew/rustledger/) - Shares av.db curated category or tags: cli, finance, productivity.
- [beancount](https://www.automicvault.com/pkg/brew/beancount/) - Shares av.db curated category or tags: cli, finance, productivity.

## Combined YAML source

View the package source record on GitHub. [combined/libofx.yml](https://github.com/automic-vault/db/blob/main/combined/libofx.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
