How To Install libcxx-serial1 on Kali Linux
Introduction
In this tutorial we learn how to install libcxx-serial1 on Kali Linux.
What is libcxx-serial1
libcxx-serial1 is:
A cross-platform library for interfacing with rs-232 serial like ports written in C++. It provides a modern C++ interface with a workflow designed to look and feel like PySerial, but with the speed and control provided by C++.
The upstream package name is serial. The Debian package is named cxx-serial to avoid a name conflict.
Serial is a class that provides the basic interface common to serial libraries (open, close, read, write, etc..) and requires no extra dependencies. It also provides tight control over timeouts and control over handshaking lines.
This package contains the runtime library.
There are three methods to install libcxx-serial1 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 libcxx-serial1 Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libcxx-serial1 using apt-get by running the following command:
sudo apt-get -y install libcxx-serial1Install libcxx-serial1 Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libcxx-serial1 using apt by running the following command:
sudo apt -y install libcxx-serial1Install libcxx-serial1 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 updateAfter updating apt database, We can install libcxx-serial1 using aptitude by running the following command:
sudo aptitude -y install libcxx-serial1How To Uninstall libcxx-serial1 on Kali Linux
To uninstall only the libcxx-serial1 package we can use the following command:
sudo apt-get remove libcxx-serial1Uninstall libcxx-serial1 And Its Dependencies
To uninstall libcxx-serial1 and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libcxx-serial1Remove libcxx-serial1 Configurations and Data
To remove libcxx-serial1 configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libcxx-serial1Remove libcxx-serial1 configuration, data, and all of its dependencies
We can use the following command to remove libcxx-serial1 configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcxx-serial1Dependencies
libcxx-serial1 have the following dependencies:
References
Summary
In this tutorial we learn how to install libcxx-serial1 package on Kali Linux using different package management tools: apt, apt-get and aptitude.