How To Install libcojets2-dev on Debian 9

In this tutorial we learn how to install libcojets2-dev on Debian 9. libcojets2-dev is [Physics] COJETS p-p and pbar-p interaction Monte Carlo

Introduction

In this tutorial we learn how to install libcojets2-dev on Debian 9.

What is libcojets2-dev

libcojets2-dev is:

COJETS is a Monte Carlo library which simulates pbar-p and p-p interactions at high energy. The interaction process is first calculated at the parton level by means of perturbative QCD and the Weinberg-Salam model for electroweak interactions. Partons are then independently fragmented into jets of hadrons, according to the Field-Feynman model, and the beam jets contribution is added, according to a longitudinal phase-space model. Multiple QCD radiation of initial and final partons is included.

This is the static version of the library. The package also includes FORTRAN header files and documentation for COJETS.

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

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

sudo apt-get -y install libcojets2-dev

Install libcojets2-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcojets2-dev

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

sudo aptitude -y install libcojets2-dev

How To Uninstall libcojets2-dev on Debian 9

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

sudo apt-get remove libcojets2-dev

Uninstall libcojets2-dev And Its Dependencies

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

sudo apt-get -y autoremove libcojets2-dev

Remove libcojets2-dev Configurations and Data

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

sudo apt-get -y purge libcojets2-dev

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

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

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

Dependencies

libcojets2-dev have the following dependencies:

References

Summary

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