mbed-test-wrapper command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mbed-test-wrapper: command not found
or when using sudo you get the following error message
sudo: mbed-test-wrapper: command not found
Solutions to mbed-test-wrapper: command not found
How To Fix mbed-test-wrapper: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mbed-test-wrapper is provided by mbed-test-wrapper package.
mbed-test-wrapper is:
mbed-test-wrapper is used to wrap the mbed test loader, so that it can be used by yotta targets to run tests on target embedded hardware platforms (e.g. K64F).
The executable file to be tested on the desired target hardware is first converted to a .bin file if necessary (via arm-none-eabi-objcopy), and then executed via mbedhtrun using the configured mount point, serial port and yotta target name.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mbed-test-wrapper
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mbed-test-wrapper.
sudo apt -y install mbed-test-wrapper
Or if you have aptitude installed you can use the following command.
sudo aptitude install mbed-test-wrapper
Summary
In this tutorial we learn how to fix mbed-test-wrapper command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.