Install fdisk by entering the following commands in the terminal:
sudo apt update sudo apt install fdisk
Description:
collection of partitioning utilities
This package contains the classic fdisk, sfdisk and cfdisk partitioning utilities from the util-linux suite. . The utilities included in this package allow you to partition your hard disk. The utilities supports both modern and legacy partition tables (eg. GPT, MBR, etc). . The fdisk utility is the classical text-mode utility. The cfdisk utilitity gives a more userfriendly curses based interface. The sfdisk utility is mostly for automation and scripting uses.
Version: 2.31.1-0.4ubuntu3
Section: utils