Install script for YNAB 4 on Linux. It is released to the public domain.
First, a quick explanation: YNAB4 works fine in most modern distros that have WINE installed by just double-clicking the downloaded installer. Unfortunately what DOESN'T work is YNAB4 "seeing" local Linux Dropbox install and enabling the "Cloud Sync" options. This script will fix the problem by setting up the necessary files for YNAB4 to use your Linux Dropbox folder and avoid you having to install a Windows version of Dropbox (which IMHO is just asking for trouble). It's important to note that even though YNAB4 doesn't see Dropbox and doesn't enable the Cloud Sync option, if you manually browse to your Linux Dropbox folder and store your YNAB4 files there, they should still sync just fine. So this script is a convenience, not mandatory.
The newest version of the script is much more friendly. It will:
If you want to use wget
to download my script, try this:
wget -O YNAB4_LinuxInstall.pl https://raw.github.com/WolverineFan/YNABLinuxInstall/master/YNAB4_LinuxInstall.pl
:information_source: Some of these are optional, and some of these are known to be necessary under some circumstances Your mileage may vary.
OPTIONAL: The YNAB4 Windows installer (the script will download the installer for you, if you want)
Mono and Gecko for WINE appear to be necessary for YNAB4 to work properly on Linux.
:information_source: NOTE: WINE is supposed to be smart enough to know when these are necessary, and do the legwork of installing them for you. If you're having trouble running YNAB4 on Linux, you should double-check that these exist in your WINE bottle. Please consult your distribution's documentation if you're having trouble installing these packages.
Some users of 64-bit Arch Linux (and its derivatives) report that the multilib repository needs to be enabled.
lib32-lcms
package.Some users of Debian Linux have reported that libwine-cms is a required dependency.
Winetricks can add some bells and whistles to a default installation of WINE.
Install WINE and Dropbox first.
:information_source: NOTE: Be sure to launch Dropbox, register, and complete the setup process. You should have a "Dropbox" folder in your home directory after it's done.
In a Terminal window you will type something like the following:
:information_source: NOTE: You may need to adjust
cd ~/Downloads
, if the install script is located in another directory.~/Downloads
is the default directory, most of the time.
cd ~/Downloads
perl ./YNAB4_LinuxInstall.pl
Then, just follow the prompts!
By default, my script will install YNAB4 in a WINE bottle named ~/.wine_YNAB4
but it will prompt you for an alternate location, if you want to choose one.
It will locate your Dropbox folder automatically so you don't have to do
anything there.
:information_source: NOTE: From within YNAB4, your Dropbox directory will be in C:\Dropbox
Any questions or problems with the script should be directed to me not the YNAB team :)
If anyone wants to take a stab at improving it feel free!