Install libfdisk-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libfdisk-dev
Description:
fdisk partitioning library - headers and static libraries
The libfdisk library is used for manipulating partition tables. It is the core of the fdisk, cfdisk, and sfdisk tools. . This package contains the development environment for the fdisk library.
Version: 2.31.1-0.4ubuntu3
Section: libdevel