eg command not found

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

Introduction

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

eg: command not found

or when using sudo you get the following error message

sudo: eg: command not found

Solutions to eg: command not found

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

In Ubuntu eg is provided by easygit package.

easygit is:

In short, Easy GIT is a single-file wrapper script for git, designed to make git easy to learn and use.

Features: * eg focuses on documentation and examples * eg removes many principle-of-least-surprise violations that catch git newbies unaware * eg provides subcommands that are a natural extension of capabilities users know from cvs/svn (eg also takes care to make sure the modifications to its subcommands are easily discoverable and error-avoiding for existing git users as well!)

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

sudo apt-get -y install easygit

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

You can also use apt command to install easygit.

sudo apt -y install easygit

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

sudo aptitude install easygit

Summary

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