raw: command not found [How To Fix]
Posted on March 4, 2021 (Last modified on July 14, 2022) • 2 min read • 297 wordsLearn how to fix raw: command not found error message in this article. We will learn fixing this error message on several Linux distributions including Ubuntu and CentOS / AlmaLinux. We will also learn to resolve this problem on MacOS X
When you run raw
command in linux terminal / console, you get the following error message
raw: command not found
```bash
## Solutions to raw: command not found {#h-solution-to-raw-not-found}
### How To Fix raw: command not found in Ubuntu / Debian / Kali Linux / Raspbian {#h-how-to-fix-raw-command-not-found-ubuntu}
To fix this problem, we can install raw using the command below.
```bash
sudo apt-get -y install util-linux
This command might take some time to finish depending on your machine internet connection.
You can also use apt
command to install util-linux.
sudo apt -y install util-linux
```bash
Or if you have aptitude installed you can use the following command.
```bash
sudo aptitude install util-linux
In Alpine Linux, we can install raw using the command below.
apk add util-linux
```bash
### How To Fix raw: command not found in Arch Linux {#h-how-to-fix-raw-command-not-found-archlinux}
In Arch Linux, to fix this error message, we can install raw using the command below.
```bash
pacman -S util-linux
In CentOS or other RHEL based Linux distribution, we can install raw using the command below.
yum install util-linux
```bash
### How To Fix raw: command not found in Fedora {#h-how-to-fix-raw-command-not-found-fedora}
In Fedora we can use `dnf` command to install raw using the command below.
```bash
dnf install util-linux
To fix this problem, we can install raw using the command below.
brew install util-linux
```bash
## Related Articles {#h-references}
* [raw Command in Linux][1]
* [Linux Command Line Tutorial][2]
* [util-linux][3]
* <a href="https://github.com/karelzak/util-linux" target="_blank" rel="noreferrer noopener nofollow">GNU util-linux Website</a>
[1]: https://www.howtodojo.com/linux-raw-command/
[2]: https://www.howtodojo.com/linux-commands/
[3]: https://www.howtodojo.com/tags/util-linux/