How To Install fdutils on Debian 12

Learn how to install fdutils on Debian 12 with this tutorial. fdutils is Linux floppy utilities

Introduction

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

What is fdutils

fdutils is:

This package contains utilities for formatting extra capacity disks, automatic floppy disk mounting and unmounting, etc.

The package includes the following items:

  • superformat: formats high capacity disks (up to 1992k for high density disks or up to 3984k for extra density disks);
  • fdmount: automatically mounts/unmounts disks when they are inserted/removed;
  • xdfcopy: formats, reads and writes OS/2’s XDF disks;
  • MAKEFLOPPIES: creates the floppy devices in /dev;
  • getfdprm: prints the current disk geometry (number of sectors, track and heads etc.);
  • setfdprm: sets the current disk geometry;
  • fdrawcmd: sends raw commands to the floppy driver;
  • floppycontrol: configures the floppy driver;
  • general documentation about the floppy driver.

Note that these utilities do not work for USB floppy drives, because these do not allow direct access to the floppy controller.

There are three methods to install fdutils 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 fdutils Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fdutils

Install fdutils Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fdutils

Install fdutils 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 fdutils using aptitude by running the following command:

sudo aptitude -y install fdutils

How To Uninstall fdutils on Debian 12

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

sudo apt-get remove fdutils

Uninstall fdutils And Its Dependencies

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

sudo apt-get -y autoremove fdutils

Remove fdutils Configurations and Data

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

sudo apt-get -y purge fdutils

Remove fdutils configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fdutils

Dependencies

fdutils have the following dependencies:

References

Summary

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