parted

A partition manipulation program. See also: partprobe. More information: <https://www.gnu.org/software/parted/parted.html>.

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