Marv's Website


Install Specific Program Version with Flatpak

Categories: [computers]

I use Homebank to emulate virtual bank accounts since my bank does not support it. Since I want to be able to do financial stuff on the go, I need to sync the file to another device and also keep the versions of Homebank in sync. One of my machines runs macOS while the other one is on Debian. The debian version is much older than the one available on Homebrew. The flatpak version of Homebank is more recent than the one on Homebrew, though.

I found an easy solution here: https://askubuntu.com/questions/1349179/how-to-install-a-previous-version-of-gimp-with-flatpak-on-ubuntu-20-04

  1. Install Homebank via flatpak
  2. use the remote-info command to find the commit hash with the correct Homebank version
  3. "update" Homebank to that commit hash
  4. "mask" the Homebank version so that flatpak doesn't automatically update it

Check the link above for the specific commands.

Now I can update the flatpak version manually whenever there's a new version on Homebrew.