I want to start by mentioning that I did use the search function and found that using a standalone VM could be a solution. I also found a German topic discussing Anki, but it was based on the Fedora template, where the solution was straightforward since Fedora includes Anki in its software repository.
However, I’d still like to try and get this working with my current setup.
I’ve managed to set up AppVMs for other applications, such as Signal, Obsidian, and BitTorrent, each with its own template and AppVM. Here’s what I’ve done to set up an offline-only AppVM for Anki:
I created an Anki template VM based on the Debian 12 template.
Within this template VM, I connected to the internet, downloaded, and successfully installed Anki. It works perfectly within the template.
Next, I created an AppVM for Anki based on this template. However, when I try to launch Anki in the AppVM, nothing happens. I can see the Anki icon in the app menu, but clicking it doesn’t start the application. Additionally, typing anki in the terminal gives a bash error that the command isn’t recognized.
Am I missing a step, or could there be an issue with my setup?
How exactly did you do it?
If you’ve installed it in /home/user or /usr/local directories then it won’t work because the files there are not inherited by the app qubes: Templates | Qubes OS
Sorry to necro, but as an Anki and Qubes user I had a similar issue as the OP.
The reason why installing Anki on both the appVM and template is the solution, despite the appVM wiping everything but files, is because OP most likely installed the extra dependencies that came in the Anki install download on the appVM’s file directory.
Those dependencies were now in the files and could be referenced by the Anki software on boot.
So to successfully install Anki you need to (As of May 7th, 2026):
After following everything in Anki’s documation to a T, shutdown your template and head on over to your appVM that will run Anki
Reference the Anki installation docs once again but note the “Installation” section after “Requirements”
You will want to re-download Anki as prompted with the download link in step 1 and extract the file into the appVM’s file directory as instructed, but just in your AppVM.