Installing Anki on Raspberry pi 4

niclosamide's Avatar


16 Jan, 2020 04:03 PM


I hope I'm posting this in the correct category. I'd really like to install Anki onto my Raspberry pi 4 running the latest version of Raspbian. I've only found sources that talk about how to install Anki 2.0 onto Raspbian. This is one in particular is the only source that I found that actually worked for me:

However, Anki 2.0 will stop syncing in a less than a month, which will make this version useless to me. I have not found any sources that mention how to install Anki 2.1.x onto Raspberry pi. Is it possible to do this? If so, can someone give me directions on how to go about this? If there is no way to install Anki on Raspbian, is there anyway to install it on any other OS that is compatible with Raspberry pi?

I've spent a few days searching for a solution and have not found anything, I'd appreciate any help anyone is willing to offer. Thank you!

  1. 1 Posted by Adam on 21 Jan, 2020 12:08 PM

    Adam's Avatar

    This is incredibly weird. The following was written without testing on an actual Raspberry Pi, so it may well be wrong.

    In principle, on the latest Raspbian (based on Debian "Buster" — i.e. Debian 10), Anki should simply be present, in the repositories, unlike in the older versions of Raspbian (based on Debian "Stretch" — i.e. Debian 9 — which didn't have Anki for the reasons mentioned in your link). If you look at Debian, Anki is indeed present in Buster:

    Raspbian doesn't seem to have a convenient webpage for each package, so delving into the package archives, we also find Anki 2.1 (anki_2.1.8+dfsg-1_all.deb), here:

    Looking at the buster "Packages" file (warning, huge file):

    we do find the anki package. Unfortunately, it has a dependency on the python3-pyqt5.qtwebengine package which doesn't appear to be present. If we look at the package archives, again, there's indeed no pyqt5-qtwebengine deb in the relevant "directory":

    The libqt5webengine5 package (which python3-pyqt5.qtwebengine in turn depends on, according to Debian) also appears to be missing.

    There might be some other missing dependencies — I haven't checked.

    There seems to be a thread on the topic on the raspberry pi forums, here:

    Possible workaround

    Perhaps try installing the missing debs from Debian, downloading the armhf package. It might work. For instance, the pyqt.qtwebengine and qtwebengine packages are here:

    Alternative OSs

    Ubuntu seems to have support for the Raspberry Pi 4:

    (It's by default a "server" install, but according to the above link you can also install a GUI.)

    Both Ubuntu 19.10 and 18.04 seem to have the "critical" pyqt5.qtwebengine dependency available for armhf:

    so Anki should be installable.

  2. 2 Posted by Livcy on 03 May, 2020 12:30 AM

    Livcy's Avatar

Comments are closed, but you can start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac