autojump command not found

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

Introduction

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

autojump: command not found

or when using sudo you get the following error message

sudo: autojump: command not found

Solutions to autojump: command not found

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

In Ubuntu autojump is provided by autojump package.

autojump is:

autojump provides a faster way to navigate your filesystem, with a “cd command that learns”.

It works by maintaining a database of the directories you use the most from the command line, and allows you to “jump” to frequently used directories by typing only a small pattern.

To use autojump, you need to configure your shell to source /usr/share/autojump/autojump.sh on startup.

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

sudo apt-get -y install autojump

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

You can also use apt command to install autojump.

sudo apt -y install autojump

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

sudo aptitude install autojump

Summary

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