How To Install libccp4-dev on Debian 10

Learn how to install libccp4-dev on Debian 10 with this tutorial. libccp4-dev is CCP4 core functionality - development files

Introduction

In this tutorial we learn how to install libccp4-dev on Debian 10.

What is libccp4-dev

libccp4-dev is:

The CCP4 software suite is based around a library of routines which cover common tasks, such as file opening, parsing keyworded input, reading and writing of standard data formats, applying symmetry operations, etc. Programs in the suite call these routines which, as well as saving the programmer some effort, ensure that the varied programs in the suite have a similar look-and-feel.

The library contains several sub components:

  • CMTZ library – Contains a variety of functions for manipulating the data structure, for example adding crystals, datasets or columns. The data structure can be dumped to an output MTZ data file.

  • CMAP library – Functions defining the C-level API for accessing CCP4 map files.

  • CSYM library – a collection of functions centered around a data file syminfo.lib which is auto-generated from sgtbx (the Space Group Toolbox of cctbx).

  • CCP4 utility library – many utility functions which either give specific CCP4 or platform independent functionality.

  • CCP4 Parser library – provides CCP4-style parsing, as used for processing keywords of CCP4 programs, MTZ header records, etc.

  • CCP4 resizable arrays – defines an object and methods which looks just like a simple C array, but can be resized at will without incurring excessive overheads. This package contains the shared library components needed for programs that have been compiled with the libccp4 library.

There are three methods to install libccp4-dev on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libccp4-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libccp4-dev

Install libccp4-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libccp4-dev

Install libccp4-dev 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libccp4-dev

How To Uninstall libccp4-dev on Debian 10

To uninstall only the libccp4-dev package we can use the following command:

sudo apt-get remove libccp4-dev

Uninstall libccp4-dev And Its Dependencies

To uninstall libccp4-dev and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libccp4-dev

Remove libccp4-dev Configurations and Data

To remove libccp4-dev configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libccp4-dev

Remove libccp4-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libccp4-dev

Dependencies

libccp4-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libccp4-dev package on Debian 10 using different package management tools: apt, apt-get and aptitude.