ra-index command not found

In this troubleshooting guide we learn how to fix ra-index command not found error message

Introduction

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

ra-index: command not found

or when using sudo you get the following error message

sudo: ra-index: command not found

Solutions to ra-index: command not found

How To Fix ra-index: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ra-index is provided by remembrance-agent package.

remembrance-agent is:

The Remembrance Agent is one of the projects being developed by the MIT Media Lab’s software agents group. Given a collection of the user’s accumulated email, Usenet news articles, papers, saved HTML files and other text notes, it attempts to find those documents which are most relevant to the user’s current context. That is, it searches this collection of text for the documents which bear the highest word-for-word similarity to the text the user is currently editing, in the hope that they will also bear high conceptual similarity and thus be useful to the user’s current work. These suggestions are continuously displayed in a small buffer at the bottom of the user’s emacs buffer. If a suggestion looks useful, the full text can be retrieved with a single command.

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

sudo apt-get -y install remembrance-agent

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

You can also use apt command to install remembrance-agent.

sudo apt -y install remembrance-agent

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

sudo aptitude install remembrance-agent

Summary

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