cph command not found

In this troubleshooting guide we learn how to fix cph command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

cph: command not found

or when using sudo you get the following error message

sudo: cph: command not found

Solutions to cph: command not found

How To Fix cph: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cph is provided by conda-package-handling package.

conda-package-handling is:

Cph is an abstraction of conda package handling and a tool for extracting, creating, and converting between formats.

At the time of writing, the standard conda package format is a .tar.bz2 file. That will need to be maintained for quite a long time, thanks to the long tail of people using old conda versions. There is a new conda format, described at https://docs.google.com/document/d/1HGKsbg_j69rKXP- ihhpCb1kNQSE8Iy3yOsUU2x68x8uw/edit?usp=sharing. This new format is designed to have much faster metadata access and utilize more modern compression algorithms, while also facilitating package signing without adding sidecar files.

To fix this problem, we can install more using the command below.

sudo apt-get -y install conda-package-handling

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install conda-package-handling.

sudo apt -y install conda-package-handling

Or if you have aptitude installed you can use the following command.

sudo aptitude install conda-package-handling

Summary

In this tutorial we learn how to fix cph command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.