How To Install libcpl-dev on Kali Linux
Introduction
In this tutorial we learn how to install libcpl-dev
on Kali Linux.
What is libcpl-dev
libcpl-dev is:
The Common Pipeline Library (CPL) comprises a set of ISO-C libraries that provide a comprehensive, efficient and robust software toolkit. It forms a basis for the creation of automated astronomical data-reduction tasks (known as “pipelines”).
The CPL was developed to standardise the way instrument pipelines are built, to shorten their development cycle and to ease their maintenance. However, it may be more generally applied to any similar application, and the details of the CPL code have been engineered in a way to make the library portable and flexible, as well as minimising external dependencies.
The CPL provides a host of functionality, presented in a clear, generic and uniform manner. Among its many features, the CPL offers:
- many useful low-level data types (images, tables, matrices, strings, property lists, …),
- many fundamental statistic, arithmetic and conversion operations for these data types.
- medium-level data access methods (e.g. a data abstraction layer for FITS files),
- data table organisation and manipulation,
- keyword/value handling and management,
- a standardised application interface for pipeline recipes, and,
- support for dynamic loading of recipe modules.
Despite the current bias towards instrument pipeline development, the library also provides a variety of general-purpose image- and signal-processing functions, making it an excellent framework for the creation of more generic data-handling packages.
This package contains the static library and the C header files.
There are three methods to install libcpl-dev
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libcpl-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 libcpl-dev
using apt-get
by running the following command:
sudo apt-get -y install libcpl-dev
Install libcpl-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcpl-dev
using apt
by running the following command:
sudo apt -y install libcpl-dev
Install libcpl-dev Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libcpl-dev
using aptitude
by running the following command:
sudo aptitude -y install libcpl-dev
How To Uninstall libcpl-dev on Kali Linux
To uninstall only the libcpl-dev
package we can use the following command:
sudo apt-get remove libcpl-dev
Uninstall libcpl-dev And Its Dependencies
To uninstall libcpl-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libcpl-dev
Remove libcpl-dev Configurations and Data
To remove libcpl-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libcpl-dev
Remove libcpl-dev configuration, data, and all of its dependencies
We can use the following command to remove libcpl-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcpl-dev
Dependencies
libcpl-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libcpl-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.