Installing You Need A Budget (YNAB) on the average Linux distro is a no-brainer, but Arch Linux requires a few extra strokes to get purring.
This is primarily due to Arch’s minimalist foundation, as well as YNAB being reluctant about running in 64 bit.
I had to do six simple steps:
- Enable Multilib
- Sync Pacman
- Install Wine & friends
- Install 32-bit Open GL for video card
- Install Windows Corefonts
- Install YNAB
Enable multilib
Enable 32-bit package repositories (multilib) for pacman so it finds wine:
$ sudo vi /etc/pacman.conf
Change:
\#[multilib-testing]
Include = /etc/pacman.d/mirrorlist
\#[multilib]
Include = /etc/pacman.d/mirrorlist
to:
[multilib-testing]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
Sync Pacman
Sync pacman with the newly added multilib repositories:
$ sudo pacman -Sy
Install Wine & Friends
$ sudo pacman -S wine
$ sudo pacman -S lib32-lcms lib32-lcms2
$ sudo pacman -S samba wine-mono wine_gecko lib32-gnutls lib32-mpg123 lib32-ncurses
Install 32-bit Open GL
This had to be done because I got an error: “X Error of failed request: BadValue (integer parameter out of range for operation)” while trying to launch YNAB.
Installation of 32-bit Open GL is not only optional when setting up your video card drivers in Arch for the first time, but the 32-bit repos were also disabled by default.
I have an Nvidia card, so I had to install the 32-bit Open GL library (which is also from the multilib repositories) in addition the nvidia drivers already installed.
$ sudo pacman -S lib32-nvidia-libgl
Install Windows Corefonts
This step is required because the tooltips in YNAB will show strange characters. In order to install the corefonts, you have to install winetricks. Winetricks has to be installed from the AUR. I use a preexisting ~/builds folder for building AUR packages in:
$mkdir ~/builds
$ cd ~/builds/
$ curl -LO https://aur.archlinux.org/cgit/aur.git/snapshot/winetricks-git.tar.gz
$ tar -xvf winetricks-git.tar.gz
$ cd winetricks-git
$ makepkg -sri
And then install the Corefonts using Winetricks:
$ WINEPREFIX=~/.wine-YNAB WINEARCH=win32 winetricks corefonts
Install YNAB
Download the YNAB trial from their site (link pending). Then go to the folder you downloaded it in and:
$ WINEARCH=win32 WINEPREFIX=~/.wine-YNAB wine YNAB\ 4_4.3.352_Setup.exe
Inspiration
This is a reduced demi-glace of push.cx, seasoned with my own detailed commands for every step of the way, and a touch of Open GL info gleaned from Arch’s NVIDIA wiki.