How To Install libccp4c0 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libccp4c0
on Ubuntu 20.04.
What is libccp4c0
libccp4c0 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.
This package provides the runtime of the CCP4 C library.
There are three methods to install libccp4c0
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 libccp4c0 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libccp4c0
using apt-get
by running the following command:
sudo apt-get -y install libccp4c0
Install libccp4c0 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libccp4c0
using apt
by running the following command:
sudo apt -y install libccp4c0
Install libccp4c0 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 libccp4c0
using aptitude
by running the following command:
sudo aptitude -y install libccp4c0
How To Uninstall libccp4c0 on Ubuntu 20.04
To uninstall only the libccp4c0
package we can use the following command:
sudo apt-get remove libccp4c0
Uninstall libccp4c0 And Its Dependencies
To uninstall libccp4c0
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libccp4c0
Remove libccp4c0 Configurations and Data
To remove libccp4c0
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libccp4c0
Remove libccp4c0 configuration, data, and all of its dependencies
We can use the following command to remove libccp4c0
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libccp4c0
References
Summary
In this tutorial we learn how to install libccp4c0
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.