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..
Navigate through the graphical interface to the HD, in the search bar type "anki".
Open the
anki
folder.Right-click and select Open in Terminal.
In the terminal run:
You will get an output similar to this:
which anki
, which should tell you exactly what binary or script is being run. Ex output:/usr/local/bin/anki
cd /path/to/that/directory
. In my case:cd /usr/local/bin/anki
uninstall.sh
. Run this to uninstall Anki. In my case:sudo ./uninstall.sh
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
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
I had the same problem and this worked for me:
It depends on where your
uninstall.sh
is.In my case:
It's actually kombination of vero's and Mohab's solution. But it works for me.
sudo sh ./uninstall.sh