mkfs.exfat command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mkfs.exfat: command not found
or when using sudo you get the following error message
sudo: mkfs.exfat: command not found
Solutions to mkfs.exfat: command not found
How To Fix mkfs.exfat: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mkfs.exfat is provided by exfatprogs package.
exfatprogs is:
Tools to manage extended file allocation table filesystem. This package provides tools to create, check and label the filesystem. It contains
- mkfs.exfat to create an exFAT filesystem
- fsck.exfat to check and repair an exFAT filesystem
- tune.exfat to print and edit the filesystem label The tools included in this package are the exfatprogs maintained by Samsung engineers, who provided Linux exFAT support. A similar but independent implementation of these tools, written by the author of the exfat-fuse implementation, are available in the exfat-utils package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install exfatprogs
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install exfatprogs.
sudo apt -y install exfatprogs
Or if you have aptitude installed you can use the following command.
sudo aptitude install exfatprogs
Summary
In this tutorial we learn how to fix mkfs.exfat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.