cif-diff command not found

In this troubleshooting guide we learn how to fix cif-diff command not found error message

Introduction

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

cif-diff: command not found

or when using sudo you get the following error message

sudo: cif-diff: command not found

Solutions to cif-diff: command not found

How To Fix cif-diff: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cif-diff is provided by cif-tools package.

cif-tools is:

This package contains a suite of tools for the manipulation of mmCIF files.

The structure of macro molecules is nowadays recorded in mmCIF files. Until recently however the ancient PDB file format was used by many programs but that format has since long been deprecated.

This package provides two tools, pdb2cif and cif2pdb, that can convert files from one format into the other, provided that data fits of course.

Other tools are cif-validate, cif-grep, cif-diff, cif-merge and mmCQL. The latter can be used to manipulate an mmCIF file as if it were a SQL like database using SELECT, UPDATE, INSERT and DELETE commands.

This package depends on libcifpp.

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

sudo apt-get -y install cif-tools

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

You can also use apt command to install cif-tools.

sudo apt -y install cif-tools

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

sudo aptitude install cif-tools

Summary

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