anki command not found

In this troubleshooting guide we learn how to fix anki command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

anki: command not found

or when using sudo you get the following error message

sudo: anki: command not found

Solutions to anki: command not found

How To Fix anki: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu anki is provided by anki package.

anki is:

Anki is a program designed to help you remember facts (such as words and phrases in a foreign language) as easily, quickly and efficiently as possible. To do this, it tracks how well you remember each fact, and uses that information to optimally schedule review times.

Besides text, it supports sounds, images and rendering TeX snippets in the cards. It can synchronize card decks to a server so that you can review the deck on other computers, a web interface or mobile devices, for which versions of Anki are also available. Complete card decks offered by other users can be downloaded the same way.

Anki is extensible with plugins which can be downloaded and installed from the menu. While Anki can be used for studying anything, plugins are available with special features designed to make studying Japanese and English easier: integrated dictionary lookups, missing kanji reports, and more.

To fix this problem, we can install more using the command below.

sudo apt-get -y install anki

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install anki.

sudo apt -y install anki

Or if you have aptitude installed you can use the following command.

sudo aptitude install anki

Summary

In this tutorial we learn how to fix anki command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.