How do I add Anki installed via pip to my PATH and .desktop files

I installed Anki using the instructions at https://betas.ankiweb.net/ for Linux(ARM). The only alteration I did was to remove --pre so that I installed the latest stable version and not a beta. It seems I can copy the file at ~/pyenv/bin/anki into my PATH and it doesn’t mind the new location, but is this the way I should be doing it?

Also, I use xfce and would like to have an icon and menu entry at /usr/share/applications/anki.desktop. Does the pip installation method supply such a file that I can copy to that location?

The pip install needs to either be run with a full path, or placed on the PATH. It doesn’t come with a .desktop file, but you can copy the one from the git repo.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.