catkin_topological_order command not found

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

Introduction

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

catkin_topological_order: command not found

or when using sudo you get the following error message

sudo: catkin_topological_order: command not found

Solutions to catkin_topological_order: command not found

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

In Ubuntu catkin_topological_order is provided by catkin package.

catkin is:

Catkin contains CMake macros that are useful in the development of ROS-related systems. In ROS (Robot OS) Fuerte and later, many of the lower-level libraries are being migrated to be CMake only.

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

sudo apt-get -y install catkin

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

You can also use apt command to install catkin.

sudo apt -y install catkin

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

sudo aptitude install catkin

Summary

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