fastdds command not found

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

Introduction

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

fastdds: command not found

or when using sudo you get the following error message

sudo: fastdds: command not found

Solutions to fastdds: command not found

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

In Ubuntu fastdds is provided by fastdds-tools package.

fastdds-tools is:

This package is part of eProsima FastDDS. It is a tier one implementation for ROS 2.

This package provides the Fast Discovery Server to facilitate reliable discovery of participants in the FastDDS network, and the FastDDS introspection tool.

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

sudo apt-get -y install fastdds-tools

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

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

sudo apt -y install fastdds-tools

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

sudo aptitude install fastdds-tools

Summary

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