How To Install libccp4 on CentOS 7

In this tutorial we learn how to install libccp4 on CentOS 7. libccp4 is Library providing specific CCP4 functionality

Introduction

In this tutorial we learn how to install libccp4 on CentOS 7.

What is libccp4

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.

We can use yum or dnf to install libccp4 on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libccp4.

Install libccp4 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libccp4 using yum by running the following command:

sudo yum -y install libccp4

Install libccp4 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install libccp4 using dnf by running the following command:

sudo dnf -y install libccp4

How To Uninstall libccp4 on CentOS 7

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

sudo dnf remove libccp4

References

Summary

In this tutorial we learn how to install libccp4 on CentOS 7 using yum and dnf.