How To Install montecarlo-data on Debian 9

In this tutorial we learn how to install montecarlo-data on Debian 9. montecarlo-data is [Physics] data for CERNLIB Monte Carlo libraries

Introduction

In this tutorial we learn how to install montecarlo-data on Debian 9.

What is montecarlo-data

montecarlo-data is:

CERNLIB is a suite of data analysis tools and libraries created for use in physics experiments, but also with applications to other fields such as the biological sciences.

This package provides data files for three Monte Carlo frameworks: COJETS, Eurodec, and ISAJET. Although these data files are not strictly required (programs based on these frameworks may use locally supplied data instead), most people using one of these Monte Carlo generators will probably want to install this package.

The paths to the data files typically must be supplied to programs that are written to use these frameworks, either in the source code or interactively at runtime. This package places the data files cojets.dat, eurodec.dat and isajet.dat into the directory /usr/share/montecarlo-data.

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

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

sudo apt-get update

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

sudo apt-get -y install montecarlo-data

Install montecarlo-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install montecarlo-data

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

sudo aptitude -y install montecarlo-data

How To Uninstall montecarlo-data on Debian 9

To uninstall only the montecarlo-data package we can use the following command:

sudo apt-get remove montecarlo-data

Uninstall montecarlo-data And Its Dependencies

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

sudo apt-get -y autoremove montecarlo-data

Remove montecarlo-data Configurations and Data

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

sudo apt-get -y purge montecarlo-data

Remove montecarlo-data configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge montecarlo-data

Dependencies

montecarlo-data have the following dependencies:

References

Summary

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