fdisk

A program for managing partition tables and partitions on a hard disk. See also: partprobe. More information: <https://manned.org/fdisk>.

Debian Debian
RUN apt-get update && \ apt-get install -y fdisk
Ubuntu
RUN apt-get update && \ apt-get install -y fdisk
Alpine
RUN apk add util-linux
Arch Arch Linux
RUN pacman -S --noconfirm util-linux
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y fdisk
CentOS
RUN yum install -y util-linux
Fedora
RUN dnf install -y util-linux
Raspbian
RUN apt-get update && \ apt-get install -y util-linux
click the source code to copy install fdisk on any operating system with command-not-found.com