I am installing Anki for the first time on Linux Mint. I went through all the steps to download it correctly through the website and install it through the terminal. However, when I type ‘anki’ to run it for the first time, nothing happens. The error it is giving me says “bash: /usr/bin/anki: No such file or directory”. I believe it installed correctly, as before this is says “Install complete. Type ‘anki’ to run.” but nothing shows up other than the error. Anki also does not show up in my Menu tab under applications.
I tried to look up solutions on here, but everything I am seeing is for windows or a completely separate problem.
Also, I’m a little clueless when it comes to coding, so please explain it like I don’t know what you’re talking about.
The script from the website should install anki in /usr/local/bin/anki. I assume you ran /usr/bin/anki instead of just anki, because the error would otherwise have been bash: anki: command not found.
I will try running the commands again to see if anything different happens.
I looked at this page, but I couldn’t really tell if what was on my screen was correct. I have very little knowledge about coding. Some things I understand, but I could not tell what was supposed to show on my screen as opposed to what the computer needed, but wouldn’t have shown me.
I don’t know what I did wrong the first time, but this worked! Anki is now up and running. If anyone knows and could explain if I made any mistakes they see on the first round, I would appreciate learning from this.
Small edit: Anki still isn’t showing up under my applications tab. It also will not let me pin the app to my panel. If anyone knows how to fix this please let me know
Did you type exactly anki into the terminal after running sudo ./install? Because if you ran /usr/bin/anki instead (but the path or binary at that path doesn’t exist) then you get the bash: /usr/bin/anki: No such file or directory error. That’s what I meant in my first half of my first post.
If you did type just anki, then I have no idea what the issue was.
I assume you cannot pin anki to your panel because the app icon is missing (I use gnome on debian, so am not accustomed to using panels like that). If I am right, then it should fix itself once we get the icon to actually show.
Typically, you could try the following things:
Log out of your linux machine and then log back in again.
Reboot the device.
Probably one of those two should fix it, as the .desktop icon should be in /usr/local/share/applications/anki.desktop and the data should have been updated already by the install script.