How To Install ruby-coveralls on Kali Linux
Introduction
In this tutorial we learn how to install ruby-coveralls
on Kali Linux.
What is ruby-coveralls
ruby-coveralls is:
Coveralls is a web service to help you track your code coverage over time, and ensure that all your new code is fully covered.
Coveralls automatically collects your code coverage data, uploads it to their servers and gives you a nice interface to dig into it.
Any type of Ruby project or test framework supported by SimpleCov is supported by the Coveralls gem. This includes all your favorites, like RSpec, Cucumber, and Test::Unit.
This package provides a Ruby gem to interact with Coveralls API.
There are three methods to install ruby-coveralls
on Kali Linux. 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-coveralls 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-coveralls
using apt-get
by running the following command:
sudo apt-get -y install ruby-coveralls
Install ruby-coveralls Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-coveralls
using apt
by running the following command:
sudo apt -y install ruby-coveralls
Install ruby-coveralls Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ruby-coveralls
using aptitude
by running the following command:
sudo aptitude -y install ruby-coveralls
How To Uninstall ruby-coveralls on Kali Linux
To uninstall only the ruby-coveralls
package we can use the following command:
sudo apt-get remove ruby-coveralls
Uninstall ruby-coveralls And Its Dependencies
To uninstall ruby-coveralls
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-coveralls
Remove ruby-coveralls Configurations and Data
To remove ruby-coveralls
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-coveralls
Remove ruby-coveralls configuration, data, and all of its dependencies
We can use the following command to remove ruby-coveralls
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-coveralls
Dependencies
ruby-coveralls have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-coveralls
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.