augparse command not found

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

Introduction

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

augparse: command not found

or when using sudo you get the following error message

sudo: augparse: command not found

Solutions to augparse: command not found

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

In Ubuntu augparse is provided by augeas-tools package.

augeas-tools is:

Augeas is a configuration editing tool. It parses configuration files in their native formats and transforms them into a tree. Configuration changes are made by manipulating this tree and saving it back into native config files.

This package provides command line tools based on libaugeas0:

  • augtool, a tool to manage configuration files.
  • augparse, a testing and debugging tool for augeas lenses.

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

sudo apt-get -y install augeas-tools

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

You can also use apt command to install augeas-tools.

sudo apt -y install augeas-tools

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

sudo aptitude install augeas-tools

Summary

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