fdisk command not found - Linux Mint 22.04

Page content

How to Install fdisk Command on Linux Mint 22.04

In Linux Mint 22.04, the fdisk command is no longer included by default in the base installation. This command is commonly used for disk partitioning and management tasks. If you find that the fdisk command is not available on your system, you can follow the steps below to install it.

Step 1: Update Package List

Before installing fdisk, it’s a good practice to ensure that your package list is up to date. Open a terminal and run the following command:

sudo apt update

Step 2: Install fdisk Command

Once the package list is updated, you can proceed to install the fdisk command by running the following command:

sudo apt install util-linux

<ins class=“adsbygoogle” <style=“display:block; text-align:center;” <data-ad-layout=“in-article” <data-ad-format=“fluid” <data-ad-client=“ca-pub-3694707216928989” <data-ad-slot=“8801045010”>

After the installation is complete, you can verify that fdisk is now available on your system by running:

fdisk --version

If the installation was successful, you should see the version information of the fdisk command displayed on the terminal.

Conclusion

In this tutorial, we have covered how to install the fdisk command on Linux Mint 22.04. By following these steps, you can ensure that you have access to this essential tool for disk partitioning and management tasks on your system.