How to install HieroFlashCard in Linux


Since HieroFlashCard has been developed only for the Linux operating system, the installation is quite easy. Just follow the excellent installation instructions on HieroFlashCard's website: part 1 outlink (application binary) and part 2 outlink (application data, i.e. needed fonts and audio files). Basically, you first have to install the application (there's a .deb-file for users of Debian and Debian-based distributions such as Ubuntu and a source package for all other distributions) and then copy the needed fonts and audio files to a proper location in your filesystem (don't forget to create the necessary directories first).

Note: if you want to install the different fonts (for hieroglyphs and transliteration) for all users of your computer (and not only for the current user, as explained on HieroFlashCard's website), read How_to_install_extra_fonts. We assume you've downloaded the font-file to your desktop and unpacked it there. You can make a directory "hieroflashcard" to store all the fonts needed by HieroFlashCard, so use the following line in the instructions for installing extra TrueType fonts:

DESTDIR="$FONTDIR/hieroflashcard"

(instead of DESTDIR="$FONTDIR/ttf-transliteration")

After the installation, you can launch the application by entering "hieroflashcard" in a terminal window (or in the window you get after hitting alt-F2). If you want to make a shortcut to the application, use the same command and the icon at

/usr/local/share/pixmaps/hieroflashcard/an.png

If you don't know how to create a shortcut, here's an how-to for Gnome, KDE and Xfce.

Troubleshooting

If sound doesn't work, launch hieropreter from a terminal window and watch out for error messages in the terminal window. If you get an error like this one after hitting the "play" button for a sign:

/bin/sh: /usr/bin/esd: not found

then you'll need to install the esound package. (Xubuntu 7.04 apparently doesn't include the esound package in its default installation.) In Ubuntu, you can do this using the following command:

sudo apt-get install esound

or search for "esound" in Synaptic and mark that package for installation.
If, on the other hand, you get an error like this:

Audio File Library: could not open file '/usr/local/share/hieroflashcard/sound/A.wav' (error 3)
<-1> sample not found

You should check if you've copied the sound files to the right directory.



Tested (version 1.0.1) in:

  • Xubuntu (7.04)