apriltag command not found

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

Introduction

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

apriltag: command not found

or when using sudo you get the following error message

sudo: apriltag: command not found

Solutions to apriltag: command not found

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

In Ubuntu apriltag is provided by apriltag package.

apriltag is:

AprilTag is a visual fiducial system, useful for a wide variety of tasks including augmented reality, robotics, and camera calibration. Targets can be created from an ordinary printer, and the AprilTag detection software computes the precise 3D position, orientation, and identity of the tags relative to the camera. The AprilTag library is implemented in C with no external dependencies. It is designed to be easily included in other applications, as well as be portable to embedded devices. Real-time performance can be achieved even on cell-phone grade processors.

This package provides the commandline tools

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

sudo apt-get -y install apriltag

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

You can also use apt command to install apriltag.

sudo apt -y install apriltag

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

sudo aptitude install apriltag

Summary

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