How To Install fatsort on Debian 12

Learn how to install fatsort on Debian 12 with this tutorial. fatsort is utility for sorting FAT directory structures

Introduction

In this tutorial we learn how to install fatsort on Debian 12.

What is fatsort

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.

There are three methods to install fatsort on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install fatsort Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install fatsort using apt-get by running the following command:

sudo apt-get -y install fatsort

Install fatsort Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fatsort using apt by running the following command:

sudo apt -y install fatsort

Install fatsort Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install fatsort using aptitude by running the following command:

sudo aptitude -y install fatsort

How To Uninstall fatsort on Debian 12

To uninstall only the fatsort package we can use the following command:

sudo apt-get remove fatsort

Uninstall fatsort And Its Dependencies

To uninstall fatsort and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove fatsort

Remove fatsort Configurations and Data

To remove fatsort configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge fatsort

Remove fatsort configuration, data, and all of its dependencies

We can use the following command to remove fatsort configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fatsort

Dependencies

fatsort have the following dependencies:

References

Summary

In this tutorial we learn how to install fatsort package on Debian 12 using different package management tools: apt, apt-get and aptitude.