Anki is a flashcard memory training program that uses the science of spaced repetition to expedite the learning process and enhance recall.
Install app-misc/anki using emerge:
emerge --ask app-misc/anki
Anki depends on dev-qt/qtwebengine, which requires ≥48GB of available RAM depending on your MAKEOPTS. On a high core count system this dependency can be built in a reasonable amount of time, perhaps taking a few hours. On a budget quad core, building Anki can take the better part of a day. The RAM requirement can be satisfied with a swap partition if needed, not just physical RAM. If emerge fails to build app-misc/anki ensure that you have either enough physical RAM or a large enough swap partition to continue.
This method uses third party installation from Flathub (which can be potentially compromised by attackers) and therefore should not used in trusted environments.
The Anki flatpak is available from Flathub:
flatpak install flathub net.ankiweb.Anki
flatpak run net.ankiweb.Anki
- ANKIDEV - If set, additional logging messages will be printed to standard output and automatic backups will be disabled.
- TRACESQL - If set, SQL statements will be printed at execution time.
- LOGTERM - If set, messages bound for collection2.log will also be printed to standard output.
- ANKI_PROFILE_CODE - If set, Python profiling data will be sent to standard output upon exit.
- $XDG_DATA_HOME/Anki2 - the main configuration directory.
If Anki was installed via Flatpak, the configuration files will be located in ~/.var/app/net.ankiweb.Anki/ instead.
usage: anki [OPTIONS] [file to import] Anki 2.1.15 optional arguments: -h, --help show this help message and exit -b BASE, --base BASE path to base folder -p PROFILE, --profile PROFILE profile name to load -l LANG, --lang LANG interface language (en, de, etc)
See the official Linux Anki documentation for Linux-specific issues.
- AnkiWeb – The companion web service to the desktop Anki application.