How To Install libgeant321-2-dev on Debian 10

Learn how to install libgeant321-2-dev on Debian 10 with this tutorial. libgeant321-2-dev is [Physics] Library for GEANT 3.21 (development files)

Introduction

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

What is libgeant321-2-dev

libgeant321-2-dev is:

GEANT is a framework for simulating the passage of subatomic particles through matter, for instance, particle detectors. For maximum flexibility, GEANT simulations are performed by linking FORTRAN code supplied by the user with the GEANT library, then running the resulting executable.

This package includes a static version of the libgeant321 library required by GEANT. C and FORTRAN header files are also included.

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

sudo apt-get -y install libgeant321-2-dev

Install libgeant321-2-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgeant321-2-dev

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

sudo aptitude -y install libgeant321-2-dev

How To Uninstall libgeant321-2-dev on Debian 10

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

sudo apt-get remove libgeant321-2-dev

Uninstall libgeant321-2-dev And Its Dependencies

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

sudo apt-get -y autoremove libgeant321-2-dev

Remove libgeant321-2-dev Configurations and Data

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

sudo apt-get -y purge libgeant321-2-dev

Remove libgeant321-2-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgeant321-2-dev

Dependencies

libgeant321-2-dev have the following dependencies:

References

Summary

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