How To Install libpoco-dev on Kali Linux
Introduction
In this tutorial we learn how to install libpoco-dev
on Kali Linux.
What is libpoco-dev
libpoco-dev is:
The POCO C++ Libraries are a collection of open source C++ class libraries that simplify and accelerate the development of network-centric, portable applications in C++. The libraries integrate perfectly with the C++ Standard Library and fill many of the functional gaps left open by it.
POCO is built strictly using standard ANSI/ISO C++, including the standard library. The contributors attempt to find a good balance between using advanced C++ features and keeping the classes comprehensible and the code clean, consistent and easy to maintain.
POCO consists of four core libraries, and a number of add-on libraries. The core libraries are Foundation, XML, Util and Net. Two of the add-on libraries are NetSSL, providing SSL support for the network classes in the Net library, and Data, a library for uniformly accessing different SQL databases.
There are three methods to install libpoco-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 libpoco-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 libpoco-dev
using apt-get
by running the following command:
sudo apt-get -y install libpoco-dev
Install libpoco-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpoco-dev
using apt
by running the following command:
sudo apt -y install libpoco-dev
Install libpoco-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 libpoco-dev
using aptitude
by running the following command:
sudo aptitude -y install libpoco-dev
How To Uninstall libpoco-dev on Kali Linux
To uninstall only the libpoco-dev
package we can use the following command:
sudo apt-get remove libpoco-dev
Uninstall libpoco-dev And Its Dependencies
To uninstall libpoco-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libpoco-dev
Remove libpoco-dev Configurations and Data
To remove libpoco-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libpoco-dev
Remove libpoco-dev configuration, data, and all of its dependencies
We can use the following command to remove libpoco-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpoco-dev
Dependencies
libpoco-dev have the following dependencies:
- libpococrypto70
- libpocodata70
- libpocoencodings70
- libpocofoundation70
- libpocojson70
- libpocojwt70
- libpocodatamysql70
- libpocodatapostgresql70
- libpocomongodb70
- libpoconet70
- libpoconetssl70
- libpocodataodbc70
- libpocodatasqlite70
- libpocoredis70
- libpocoutil70
- libpocoxml70
- libpocozip70
- libexpat1-dev
- default-libmysqlclient-dev
- libpcre3-dev
- libsqlite3-dev
- libssl-dev
- zlib1g-dev
References
Summary
In this tutorial we learn how to install libpoco-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.