How To Install ruby-clean-test on Debian 10
Introduction
In this tutorial we learn how to install ruby-clean-test
on Debian 10.
What is ruby-clean-test
ruby-clean-test is:
This library is a set of small, simple tools to make your Test::Unit test cases easy to understand. This isn’t a massive change in how you write tests, but simply some helpful things will make your tests easier to read.
The main problems this library solves are: understanding what part of a test method is setup, test, and evaluation; understanding what elements of a test are relevant to the test, and which are arbitrary placeholders; removing the requirement that your tests are method names.
There are three methods to install ruby-clean-test
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-clean-test 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-clean-test
using apt-get
by running the following command:
sudo apt-get -y install ruby-clean-test
Install ruby-clean-test Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-clean-test
using apt
by running the following command:
sudo apt -y install ruby-clean-test
Install ruby-clean-test 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-clean-test
using aptitude
by running the following command:
sudo aptitude -y install ruby-clean-test
How To Uninstall ruby-clean-test on Debian 10
To uninstall only the ruby-clean-test
package we can use the following command:
sudo apt-get remove ruby-clean-test
Uninstall ruby-clean-test And Its Dependencies
To uninstall ruby-clean-test
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove ruby-clean-test
Remove ruby-clean-test Configurations and Data
To remove ruby-clean-test
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge ruby-clean-test
Remove ruby-clean-test configuration, data, and all of its dependencies
We can use the following command to remove ruby-clean-test
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-clean-test
Dependencies
ruby-clean-test have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-clean-test
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.