el command not found

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

Introduction

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

el: command not found

or when using sudo you get the following error message

sudo: el: command not found

Solutions to el: command not found

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

In Ubuntu el is provided by oneliner-el package.

oneliner-el is:

oneliner-el provides nice extensions for UNIX shell masters who love one-line scripts. This package has the following functions:

  • You can easily connect standard input or output of a command to an Emacs buffer.
  • You can sync the current directory of shell-mode and a shell process.
  • Oneliner-el can beep when command execution terminates.
  • Oneliner-el handles control codes.

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

sudo apt-get -y install oneliner-el

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

You can also use apt command to install oneliner-el.

sudo apt -y install oneliner-el

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

sudo aptitude install oneliner-el

Summary

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