How To Install libqd-dev on Debian 10

Learn how to install libqd-dev on Debian 10 with this tutorial. libqd-dev is Double-double and quad double types in C++ and F90

Introduction

In this tutorial we learn how to install libqd-dev on Debian 10.

What is libqd-dev

libqd-dev is:

This package supports both a double-double datatype (approx. 32 decimal digits) and a quad-double datatype (approx. 64 decimal digits). The computational library is written in C++. Both C++ and Fortran-90 high-level language interfaces are provided to permit one to convert an existing C++ or Fortran-90 program to use the library with only minor changes to the source code.

There are three methods to install libqd-dev on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libqd-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 libqd-dev using apt-get by running the following command:

sudo apt-get -y install libqd-dev

Install libqd-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libqd-dev

Install libqd-dev 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libqd-dev using aptitude by running the following command:

sudo aptitude -y install libqd-dev

How To Uninstall libqd-dev on Debian 10

To uninstall only the libqd-dev package we can use the following command:

sudo apt-get remove libqd-dev

Uninstall libqd-dev And Its Dependencies

To uninstall libqd-dev and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libqd-dev

Remove libqd-dev Configurations and Data

To remove libqd-dev configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libqd-dev

Remove libqd-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libqd-dev

Dependencies

libqd-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libqd-dev package on Debian 10 using different package management tools: apt, apt-get and aptitude.