aiocoap-rd command not found

In this troubleshooting guide we learn how to fix aiocoap-rd command not found error message

Introduction

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

aiocoap-rd: command not found

or when using sudo you get the following error message

sudo: aiocoap-rd: command not found

Solutions to aiocoap-rd: command not found

How To Fix aiocoap-rd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu aiocoap-rd is provided by python3-aiocoap package.

python3-aiocoap is:

The aiocoap package is a Python implementation of CoAP, the Constrained Application Protocol (RFC 7252, more info at http://coap.technology/).

It uses the asyncio module introduced in Python 3.4 to facilitate concurrent operations while maintaining a simple to use interface and not depending on anything outside the standard library.

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

sudo apt-get -y install python3-aiocoap

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

You can also use apt command to install python3-aiocoap.

sudo apt -y install python3-aiocoap

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

sudo aptitude install python3-aiocoap

Summary

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