How to Install or Uninstall mbed-test-wrapper Ubuntu 22.04

Updated: September 15, 2022

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). I will show you how to install mbed-test-wrapper on Ubuntu 22.04 in this tutorial.

Software Requirement

  • Operating system: Ubuntu 22.04 is needed for mbed-test-wrapper to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install mbed-test-wrapper on Ubuntu 22.04

Install mbed-test-wrapper Ubuntu 22.04

mbed-test-wrapper is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install mbed-test-wrapper using APT

This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these steps to install mbed-test-wrapper on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install mbed-test-wrapper Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt install mbed-test-wrapper

Install mbed-test-wrapper using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After that, you can now install mbed-test-wrapper by following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install mbed-test-wrapper Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install mbed-test-wrapper

Uninstall mbed-test-wrapper on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a mbed-test-wrapper, can be easily uninstalled by anyone.

If you installed mbed-test-wrapper using APT or Aptitude, you could uninstall mbed-test-wrapper on Ubuntu by following this step:

sudo apt remove --auto-remove mbed-test-wrapper

If you want to uninstall mbed-test-wrapper and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge mbed-test-wrapper

Ending

In this guide, I showed you ways to install mbed-test-wrapper on Ubuntu 22.04 and some ways to uninstall mbed-test-wrapper too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.