How To Install libcxxtools9v5 on Ubuntu 18.04

In this tutorial we learn how to install libcxxtools9v5 on Ubuntu 18.04. libcxxtools9v5 is library of unrelated but useful C++ classes

Introduction

In this tutorial we learn how to install libcxxtools9v5 on Ubuntu 18.04.

What is libcxxtools9v5

libcxxtools9v5 is:

cxxtools contains an argument-parser, a base-64 encoder/decoder, a C++ interface to iconv, md5-stream for easy MD5 calculation, threading classes, socket classes, a dynamic exception-safe buffer, a wrapper for dlopen/dlsym, a pool template (e.g., for a connection pool in a multi-threaded application), query_params, and a class for easy parsing of CGI parameters (GET and POST) in a CGI program.

There are three methods to install libcxxtools9v5 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 libcxxtools9v5 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libcxxtools9v5 using apt-get by running the following command:

sudo apt-get -y install libcxxtools9v5

Install libcxxtools9v5 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcxxtools9v5 using apt by running the following command:

sudo apt -y install libcxxtools9v5

Install libcxxtools9v5 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 libcxxtools9v5 using aptitude by running the following command:

sudo aptitude -y install libcxxtools9v5

How To Uninstall libcxxtools9v5 on Ubuntu 18.04

To uninstall only the libcxxtools9v5 package we can use the following command:

sudo apt-get remove libcxxtools9v5

Uninstall libcxxtools9v5 And Its Dependencies

To uninstall libcxxtools9v5 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libcxxtools9v5

Remove libcxxtools9v5 Configurations and Data

To remove libcxxtools9v5 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libcxxtools9v5

Remove libcxxtools9v5 configuration, data, and all of its dependencies

We can use the following command to remove libcxxtools9v5 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libcxxtools9v5

References

Summary

In this tutorial we learn how to install libcxxtools9v5 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.