How To Install cobertura.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install cobertura.noarch
on Amazon Linux 2.
What is cobertura.noarch
Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage.
We can use yum
to install cobertura.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cobertura.noarch.
Install cobertura.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install cobertura.noarch
using yum
by running the following command:
sudo yum -y install cobertura.noarch
How To Uninstall cobertura.noarch on Amazon Linux 2
To uninstall only the cobertura.noarch
package we can use the following command:
sudo yum remove cobertura.noarch
cobertura.noarch Package Contents on Amazon Linux 2
/etc/ant.d/cobertura
/usr/share/doc/cobertura-1.9.4.1
/usr/share/doc/cobertura-1.9.4.1/COPYING
/usr/share/doc/cobertura-1.9.4.1/COPYRIGHT
/usr/share/doc/cobertura-1.9.4.1/ChangeLog
/usr/share/doc/cobertura-1.9.4.1/LICENSE-ASL-1.1
/usr/share/doc/cobertura-1.9.4.1/LICENSE-ASL-2.0
/usr/share/doc/cobertura-1.9.4.1/README
/usr/share/java/cobertura-runtime.jar
/usr/share/java/cobertura.jar
/usr/share/maven-fragments/cobertura
/usr/share/maven-poms/JPP-cobertura-runtime.pom
/usr/share/maven-poms/JPP-cobertura.pom
References
Summary
In this tutorial we learn how to install cobertura.noarch
on Amazon Linux 2 using yum.