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