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..
96 Answers
- 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
Navigate through the graphical interface to the HD, in the search bar type "anki".
Open the
ankifolder.Right-click and select Open in Terminal.
In the terminal run:
sudo make uninstallYou 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.
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 ankiIf 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
I had the same problem and this worked for me:
cd /usr/local/share/anki/
sudo make uninstall It depends on where your uninstall.sh is.
In my case:
cd /usr/local/share/anki/
sudo ./uninstall.shIt's actually kombination of vero's and Mohab's solution. But it works for me.
- Navigate to the location of your Anki folder in terminal.
- Run the uninstall.sh shell script located in the folder using
sudo sh ./uninstall.sh