create-cpmdb command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
create-cpmdb: command not found
or when using sudo you get the following error message
sudo: create-cpmdb: command not found
Solutions to create-cpmdb: command not found
How To Fix create-cpmdb: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu create-cpmdb is provided by cpm package.
cpm is:
This program is a ncurses based console tool to manage passwords and store them public key encrypted in a file - even for more than one person. The encryption is handled via GnuPG so the programs data can be accessed via gpg as well, in case you want to have a look inside. The data is stored as zlib compressed XML so it’s even possible to reuse the data for some other purpose.
The software uses CDK (ncurses) to handle the user interface, libxml2 to store the information, the zlib library to compress the data and the library GpgMe to encrypt and decrypt the data securely.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cpm
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cpm.
sudo apt -y install cpm
Or if you have aptitude installed you can use the following command.
sudo aptitude install cpm
Summary
In this tutorial we learn how to fix create-cpmdb command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.