How To Install libcgns-dev on Debian 10

Learn how to install libcgns-dev on Debian 10 with this tutorial. libcgns-dev is CFD General Notation System library

Introduction

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

What is libcgns-dev

libcgns-dev is:

The CFD General Notation System (CGNS) provides a general, portable, and extensible standard for the storage and retrieval of computational fluid dynamics (CFD) analysis data. It consists of a collection of conventions, and free and open software implementing those conventions. It is self-descriptive, machine-independent, well-documented, and administered by an international steering committee. It is also an American Institute of Aeronautics and Astronautics (AIAA) Recommended Practice.

This package contains the development files needed to compile software to use the libcgns API.

There are three methods to install libcgns-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 libcgns-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 libcgns-dev using apt-get by running the following command:

sudo apt-get -y install libcgns-dev

Install libcgns-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcgns-dev

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

sudo aptitude -y install libcgns-dev

How To Uninstall libcgns-dev on Debian 10

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

sudo apt-get remove libcgns-dev

Uninstall libcgns-dev And Its Dependencies

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

sudo apt-get -y autoremove libcgns-dev

Remove libcgns-dev Configurations and Data

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

sudo apt-get -y purge libcgns-dev

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

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

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

Dependencies

libcgns-dev have the following dependencies:

References

Summary

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