mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
![]() The uninstall script runs `xdg-mime uninstall` which takes >5 seconds to process. There is no indication to the user though that the script is actually running. Adding an `echo` info message solves that. Additionally we could `rm -rfv` to make it more verbose (the install script is verbose too). But the main thing that needs time to process is the `xdg-mime uninstall` part of the script. The reason why I didn't make `rm -rf` verbose, too, is that the output text is greater than the buffer that the terminal provides – meaning you cannot view it from the beginning. And since `rm` is very fast even on old systems with slow hardware I didn't really see a reason to make it verbose here. |
||
---|---|---|
.. | ||
anki.1 | ||
anki.desktop | ||
anki.png | ||
anki.xml | ||
anki.xpm | ||
install.sh | ||
README.md | ||
uninstall.sh |
Installing Anki
Running directly
To run without installing, change to this folder in a terminal, and run the following command:
./anki
Installing
To install system wide, run 'sudo ./install.sh'
To remove in the future, run 'sudo /usr/local/share/anki/uninstall.sh'. You should do this before installing a newer version.
Audio
To play and record audio, mpv and lame must be installed. If mpv is not installed or too old, Anki will try to fall back on using mplayer.
Problems
If Anki fails to start, please run it from a terminal to see what errors it outputs, and then post on our support site.