usbsdmux-service command not found

In this troubleshooting guide we learn how to fix usbsdmux-service command not found error message

Introduction

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

usbsdmux-service: command not found

or when using sudo you get the following error message

sudo: usbsdmux-service: command not found

Solutions to usbsdmux-service: command not found

How To Fix usbsdmux-service: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu usbsdmux-service is provided by usbsdmux package.

usbsdmux is:

The USB-SD-Mux hardware allows switching a microSD card between the host computer via USB or a device-under-test, allowing programmatic testing of low-level parts of the boot process such as boot loader and early operating system.

This package provides a commandline interface to control switching between host computer and device-under-test, as well as a command to configure the USB-SD-Mux device itself.

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

sudo apt-get -y install usbsdmux

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

You can also use apt command to install usbsdmux.

sudo apt -y install usbsdmux

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

sudo aptitude install usbsdmux

Summary

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