How To Install ruby-integration on Debian 10

Learn how to install ruby-integration on Debian 10 with this tutorial. ruby-integration is Numerical integration for Ruby, with a simple interface

Introduction

In this tutorial we learn how to install ruby-integration on Debian 10.

What is ruby-integration

ruby-integration is:

This library offers numerical integration for Ruby, with a simple interface. The rectangular, trapezoidal, Simpson, adaptive quadrature, Monte Carlo and Romberg integration methods are available in pure Ruby. Better performance and support for infinite bounds can be obtained via Ruby/GSL (from the ruby-gsl package).

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

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

sudo apt-get update

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

sudo apt-get -y install ruby-integration

Install ruby-integration Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-integration

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

sudo aptitude -y install ruby-integration

How To Uninstall ruby-integration on Debian 10

To uninstall only the ruby-integration package we can use the following command:

sudo apt-get remove ruby-integration

Uninstall ruby-integration And Its Dependencies

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

sudo apt-get -y autoremove ruby-integration

Remove ruby-integration Configurations and Data

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

sudo apt-get -y purge ruby-integration

Remove ruby-integration configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ruby-integration

Dependencies

ruby-integration have the following dependencies:

References

Summary

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