fatsort command not found

In this troubleshooting guide we learn how to fix fatsort command not found error message

Introduction

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

fatsort: command not found

or when using sudo you get the following error message

sudo: fatsort: command not found

Solutions to fatsort: command not found

How To Fix fatsort: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fatsort is provided by fatsort package.

fatsort is:

FATSort is a utility that sorts FAT16 and FAT32 partitions. It even can handle long file name entries. It reads the boot sector and sorts the directory structure recursively. This is for example useful for sorting the files on your MP3 player when it doesn’t implement a sorting function itself.

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

sudo apt-get -y install fatsort

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

You can also use apt command to install fatsort.

sudo apt -y install fatsort

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

sudo aptitude install fatsort

Summary

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