How To Install cif-tools on Ubuntu 22.04

In this tutorial we learn how to install cif-tools on Ubuntu 22.04. cif-tools is Suite of tools to manipulate, validate and query mmCIF files

Introduction

In this tutorial we learn how to install cif-tools on Ubuntu 22.04.

What is cif-tools

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.

There are three methods to install cif-tools on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cif-tools Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install cif-tools using apt-get by running the following command:

sudo apt-get -y install cif-tools

Install cif-tools Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cif-tools using apt by running the following command:

sudo apt -y install cif-tools

Install cif-tools Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install cif-tools using aptitude by running the following command:

sudo aptitude -y install cif-tools

How To Uninstall cif-tools on Ubuntu 22.04

To uninstall only the cif-tools package we can use the following command:

sudo apt-get remove cif-tools

Uninstall cif-tools And Its Dependencies

To uninstall cif-tools and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove cif-tools

Remove cif-tools Configurations and Data

To remove cif-tools configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge cif-tools

Remove cif-tools configuration, data, and all of its dependencies

We can use the following command to remove cif-tools configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cif-tools

References

Summary

In this tutorial we learn how to install cif-tools package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.