dmraid-activate command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dmraid-activate: command not found
or when using sudo you get the following error message
sudo: dmraid-activate: command not found
Solutions to dmraid-activate: command not found
How To Fix dmraid-activate: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dmraid-activate is provided by dmraid package.
dmraid is:
dmraid discovers, activates, deactivates and displays properties of software RAID sets (eg, ATARAID) and contained DOS partitions.
dmraid uses the Linux device-mapper to create devices with respective mappings for the ATARAID sets discovered.
The following formats are supported: Highpoint HPT37X/HPT45X Intel Software RAID LSI Logic MegaRAID NVidia NForce RAID (nvraid) Promise FastTrack Silicon Image(tm) Medley(tm) VIA Software RAID
Please read the documentation in /usr/share/doc/dmraid BEFORE attempting any use of this software. Improper use can cause data loss!
To fix this problem, we can install more using the command below.
sudo apt-get -y install dmraid
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dmraid.
sudo apt -y install dmraid
Or if you have aptitude installed you can use the following command.
sudo aptitude install dmraid
Summary
In this tutorial we learn how to fix dmraid-activate command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.