Prelude

As it indtroduced at its site:

Anki is a program which makes remembering things easy. Because it's a lot more efficient than traditional study methods, you can either greatly decrease your time spent studying, or greatly increase the amount you learn.

Doesn't sound challenging?

Installation

There are several options to install Anki and I'm pay an attention on suggestions there:

We recommend the compiled version for most users running a Linux distribution released in 2012 or later

about manual installation and get rid out of scope .deb version installation (it not works on Debian9)

Install Anki's dependencies

Thus it should be installed into main system environment lets deactivate Python venv inside Emacs:

(pyvenv-deactivate)

Now it is time for installation itself:

sudo apt-get install python-qt4 mplayer2 lame libportaudio2 python-sqlalchemy
# sudo apt --fix-broken install

Install from sources

From official site:

cd ~/Downloads
# tar xjf anki-2.0.45-i386.tar.bz2
# rm anki-2.0.45-i386.tar.bz2
cd anki-2.0.45
ls
anki.1
anki.desktop
anki.png
anki.xml
anki.xpm
bin
Makefile
README

sudo make install

Uninstall

Later it would be possible to uninstall it just by:

sudo make uninstall

Configuring

For Gnome users only to allow Anki to pick up the current theme from it:

theme=$(gsettings get org.gnome.desktop.interface gtk-theme)
echo "gtk-theme-name=$theme" >> ~/.gtkrc-2.0
echo "export GTK2_RC_FILES=$HOME/.gtkrc-2.0" >> ~/.profile

Testing

Log out and log back

into your session

Launch Anki

Looks pretty

Figure 1: Anki window

Extension

Night mode

Default color scheme is a bit vivid thus I installed a night mode theme from this site. Now Anki window looks much pretty:

Looks pretty

Figure 2: Anki night mode



blog comments powered by Disqus

Published

23 May 2017

Categories

Learning Technology Debian

Tags