cgpt command not found
In this troubleshooting guide we learn how to fix cgpt command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
cgpt: command not found
or when using sudo you get the following error message
sudo: cgpt: command not found
Solutions to cgpt: command not found
How To Fix cgpt: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cgpt is provided by cgpt package.
cgpt is:
Cgpt is a tool to manipulate GUID Partition Table from command line. It also supports Chromium OS extensions enabling you to change priority for kernel partitions.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cgpt
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cgpt.
sudo apt -y install cgpt
Or if you have aptitude installed you can use the following command.
sudo aptitude install cgpt
Summary
In this tutorial we learn how to fix cgpt command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.