How To Install libccp4-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libccp4-dev
on Ubuntu 20.04.
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 Ubuntu 20.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 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 Ubuntu. 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 Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install libccp4-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.