mbedls command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mbedls: command not found
or when using sudo you get the following error message
sudo: mbedls: command not found
Solutions to mbedls: command not found
How To Fix mbedls: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mbedls is provided by python3-mbed-ls package.
python3-mbed-ls is:
This module detects and lists “Mbed Enabled” devices connected to the host computer.
mbedls provides the following information for all connected boards using console (terminal) output:
- Mbed OS platform name
- mount point (MSD or disk)
- serial port
This package contains the module for Python 3 and the mbedls utility.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-mbed-ls
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-mbed-ls.
sudo apt -y install python3-mbed-ls
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-mbed-ls
Summary
In this tutorial we learn how to fix mbedls command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.