amr command not found

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

Introduction

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

amr: command not found

or when using sudo you get the following error message

sudo: amr: command not found

Solutions to amr: command not found

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

In Ubuntu amr is provided by acr package.

acr is:

ACR is an autoconf like tool that allows you to create configure scripts for your programs. The main aim of this tool is to teach developers how to create portable builds of their tools, just using generic functions wrapped by acr to generate portable shellscript.

Pros:

  • Easy to learn / implement.
  • Faster/smaller final configure script.
  • Own syntax, not complex m4 macros.
  • Reverse engineering tool to recover .acr files from the final configure script.
  • Good documentation and tutorials.
  • vim syntax highlighting for configure.acr files ($PREFIX/share/acr/vim/install.sh)
  • Debugging support (-d)
  • Integrated support for java, bash, perl, Tcl, c, c++, ruby and Python.
  • Recursive configure script calls.
  • Progress bar in generation stage.

Cons:

  • Not recommended for huge projects
  • Slow script generation parsing huge configuration files
  • No automake replace. (just type clean makefiles and acr substs)
  • Not enough tested (only on free operating systems (Open|Net|Free|Dfly)BSD, GNU systems, and Darwin).

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

sudo apt-get -y install acr

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

You can also use apt command to install acr.

sudo apt -y install acr

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

sudo aptitude install acr

Summary

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