# Installation MyBudget runs on Ubuntu, Arch Linux (and CachyOS) and Windows. You install the first copy by hand; after that, new versions arrive by themselves: through the system's software updater on Linux, and through MyBudget's own update check on Windows. Every update is signed, and a copy of MyBudget accepts only updates signed by the key it was installed with. ## Downloads ```{raw} html ``` Each link leads to the latest version. If a link opens a folder instead, pick the file with the highest version number in it. ## Ubuntu MyBudget supports **Ubuntu 24.04 LTS** (Noble Numbat) and **Ubuntu 26.04 LTS** (Resolute Raccoon). Normally only the latest LTS release is supported; the previous one stays supported for a short while after a new LTS release comes out, so that there is time to upgrade. 1. Download the `.deb` file. 2. Install it from a terminal, in the folder you downloaded it to: ``` sudo apt install ./mybudget__amd64.deb ``` `apt` (unlike `dpkg -i`) also installs the system libraries MyBudget needs. That is all. The package also sets up MyBudget's package archive, so later versions come through the normal software updater (or `sudo apt update && sudo apt upgrade`), like any other update. An upgrade to a new Ubuntu release switches off every third-party package source, MyBudget's included. MyBudget switches its own back on at the next start of the computer, so there is nothing to do. To stop receiving MyBudget updates, remove the package (`sudo apt remove mybudget`). ## Arch Linux and CachyOS 1. Download the `.pkg.tar.zst` file **on its own**. Don't install straight from its web address (`pacman -U https://…`): pacman then also fetches the signature beside the package and checks it against a key it doesn't know yet, and refuses. 2. Install it from a terminal, in the folder you downloaded it to: ``` sudo pacman -U ./mybudget--1-any.pkg.tar.zst ``` This also adds MyBudget's signing key to pacman's keyring. 3. Add MyBudget's repository at the end of `/etc/pacman.conf`: ``` [mybudget] SigLevel = Required Server = https://mbgt.sebs-nest.org/updates/arch ``` From then on `sudo pacman -Syu` keeps MyBudget up to date with the rest of the system. For the in-app help, also install `qt6-tools`, which provides Qt Assistant. ## Windows 1. Download the installer and run it. 2. Windows SmartScreen may say *Windows protected your PC*, because the installer is not signed by a publisher Windows knows. Click *More info*, then *Run anyway*. MyBudget checks for a new version each time it starts and offers to install it. ## Checking the key On Linux the first package you install decides which key your computer trusts from then on, so it is worth checking that it is the right one. The fingerprint of MyBudget's key is ``` 80E2 62F9 C234 2612 A08E 6643 F8BA 7076 0C6D DCD3 ``` This page comes from the same web site as the packages, so someone who took over the site could change both. Check the fingerprint against a copy you got some other way: from the person who gave you MyBudget, or from the help of a copy installed earlier. To show the key a downloaded package carries, before installing it: ``` # Ubuntu dpkg-deb --fsys-tarfile mybudget__amd64.deb | tar -xO ./usr/share/keyrings/mybudget-archive-keyring.asc | gpg --show-keys # Arch Linux bsdtar -xOf mybudget--1-any.pkg.tar.zst usr/share/pacman/keyrings/mybudget.gpg | gpg --show-keys ``` The first long line of hexadecimal digits in the output (on the line after `pub`) is the fingerprint. If it differs, don't install the package. ## If updates have stopped The key that signs the updates is replaced from time to time, and every new version of MyBudget brings the new key with it. A copy that misses the new key for too long stops receiving updates, because it can no longer check them. Some time before that would happen, MyBudget warns at every start (*Updates Will Stop Soon*): install the pending updates and the warning goes away. If the date has passed (*Updates Have Stopped*): - **Ubuntu:** download the latest `.deb` and install it as for a first install. Updates then work again. - **Arch Linux:** run `sudo pacman -Syu`; pacman normally fetches the new key itself. If it still refuses, run `sudo pacman-key --refresh-keys`, or download the latest package and install it as for a first install. - **Windows** is not affected: its updates are checked with a key that does not expire.