How To Install gem2deb-test-runner on Debian 10

Learn how to install gem2deb-test-runner on Debian 10 with this tutorial. gem2deb-test-runner is Debian Ruby packaging suite - tool to run tests

Introduction

In this tutorial we learn how to install gem2deb-test-runner on Debian 10.

What is gem2deb-test-runner

gem2deb-test-runner is:

gem2deb is a set of tools to create Debian package from ruby software distributed with Rubygems.

This package contains the tool to run the tests.

There are three methods to install gem2deb-test-runner 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 gem2deb-test-runner Using apt-get

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

sudo apt-get update

After updating apt database, We can install gem2deb-test-runner using apt-get by running the following command:

sudo apt-get -y install gem2deb-test-runner

Install gem2deb-test-runner Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gem2deb-test-runner using apt by running the following command:

sudo apt -y install gem2deb-test-runner

Install gem2deb-test-runner 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 gem2deb-test-runner using aptitude by running the following command:

sudo aptitude -y install gem2deb-test-runner

How To Uninstall gem2deb-test-runner on Debian 10

To uninstall only the gem2deb-test-runner package we can use the following command:

sudo apt-get remove gem2deb-test-runner

Uninstall gem2deb-test-runner And Its Dependencies

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

sudo apt-get -y autoremove gem2deb-test-runner

Remove gem2deb-test-runner Configurations and Data

To remove gem2deb-test-runner configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge gem2deb-test-runner

Remove gem2deb-test-runner configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gem2deb-test-runner

Dependencies

gem2deb-test-runner have the following dependencies:

References

Summary

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