7

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 doesn't 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..

Pablo Bianchi
  • 17,371

6 Answers6

4

It depends on where your uninstall.sh is.

In my case:

cd /usr/local/share/anki/
sudo ./uninstall.sh

It's actually kombination of vero's and Mohab's solution. But it works for me.

2
  1. Try locating the uninstall.sh script for Anki in one of the following locations and execute it with sudo ./uninstall.sh (Do not forget the sudo part):

    • /usr/local/share/anki/
    • /usr/local/bin/anki

    Alternatively try locating the folder executing which anki

  2. If you can't find it, don't worry. Just download the latest version of Anki and decompress it somewhere. Double clicking on the downloaded file is usually enough to show you the Anki folder that you can then drag and drop where you prefer. You'll find the uninstall.sh script inside. Execute it as mentioned above with sudo ./uninstall.sh

Pedro
  • 121
1
  1. Navigate through the graphical interface to the HD, in the search bar type "anki".

  2. Open the anki folder.

  3. Right-click and select Open in Terminal.

  4. In the terminal run:

    sudo make uninstall
    

    You will get an output similar to this:

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

    xdg-mime uninstall /usr/local/share/anki/anki.xml rm -rf /usr/local/share/anki rm -rf /usr/local/bin/anki rm -rf /usr/local/share/pixmaps/anki.xpm rm -rf /usr/local/share/pixmaps/anki.png rm -rf /usr/local/share/applications/anki.desktop rm -rf /usr/local/share/man/man1/anki.1 Uninstall complete.

1
  • First, which anki, which should tell you exactly what binary or script is being run. Ex output: /usr/local/bin/anki
  • Then, go into this folder with cd /path/to/that/directory. In my case: cd /usr/local/bin/anki
  • Into this folder you would find the file uninstall.sh. Run this to uninstall Anki. In my case: sudo ./uninstall.sh
vero
  • 11
0

I had the same problem and this worked for me:

cd /usr/local/share/anki/
sudo make uninstall 
Mohab
  • 1
0
  1. Navigate to the location of your Anki folder in terminal.
  2. Run the uninstall.sh shell script located in the folder using sudo sh ./uninstall.sh