I've tried virtually everything I've found so far, like sudo apt-remove anki, etc which basically returns package not found.

The closest I've come is running sudo apt-file list anki, which gives me a long list of the files, but when i navigate to that directory - usr/bin/anki, it says it doesnt exist. Although the app is still on my desktop and still runs when i click it, navigating to my /applications folder shows no file anki.desktop.

Really frustrated, I'm just trying to remove anki from my computer..

  • theres no package contents but whenever i type anki into the terminal it opens the application – Caleb McKay Jul 20 at 7:51
  • try which anki, which should tell you exactly what binary or script is being run. I would then ls -l /path/to/that/directory | grep anki, which will tell you whether it's a symlink to something else or what have you. You'll probably find the .desktop file in /usr/share/applications. – Dan Scally Jul 20 at 7:55
  • Thanks for the speedy response @DanScally, unfortunately I deleted the command "anki" by accident using sudo rm -r usr/bin/anki so using which anki results in no outputs.. and also couldn't find anki.desktop in usr/share/applications but my other linux desktops apps are there – Caleb McKay Jul 20 at 8:28
  • well that's probably why you can't find the binary apt-file list anki points you to; are the other files it lists still there? – Dan Scally Jul 20 at 8:33
  • @DanScally yeah files are still there.. The app is no longer on my desktop though and running anki doesnt launch it, but it still says usr/bin/anki exists along with like 80 other files when running sudo apt-file list anki – Caleb McKay Jul 20 at 8:36
  1. navigate through the graphical interface to the HD, in the search bar type anki.

  2. Open the folder /anki

  3. *run "sudo make unistall anki"

  4. will have an output written on the terminal equal to this*

  5. root@debian-jean:/home/jean/anki-2.1.26-linux-amd64# sudo make uninstall anki

  6. xdg-mime uninstall /usr/local/share/anki/anki.xml rm -rf

  7. /usr/local/share/anki rm -rf /usr/local/bin/anki rm -rf

  8. /usr/local/share/pixmaps/anki.xpm rm -rf

  9. /usr/local/share/pixmaps/anki.png rm -rf

  10. /usr/local/share/applications/anki.desktop rm -rf

  11. /usr/local/share/man/man1/anki.1

  12. Uninstall complete.

  13. make: *** No rule to make target 'anki'. Pare.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.