How To Install jcip-annotations-javadoc on CentOS 7

In this tutorial we learn how to install jcip-annotations-javadoc on CentOS 7. jcip-annotations-javadoc is Javadoc for jcip-annotations

Introduction

In this tutorial we learn how to install jcip-annotations-javadoc on CentOS 7.

What is jcip-annotations-javadoc

Javadoc documentation for the jcip-annotations package. On systems where javadoc is sinjdoc, this package contains nothing useful since sinjdoc does not understand annotations.

We can use yum or dnf to install jcip-annotations-javadoc on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install jcip-annotations-javadoc.

Install jcip-annotations-javadoc on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install jcip-annotations-javadoc using yum by running the following command:

sudo yum -y install jcip-annotations-javadoc

Install jcip-annotations-javadoc on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install jcip-annotations-javadoc using dnf by running the following command:

sudo dnf -y install jcip-annotations-javadoc

How To Uninstall jcip-annotations-javadoc on CentOS 7

To uninstall only the jcip-annotations-javadoc package we can use the following command:

sudo dnf remove jcip-annotations-javadoc

References

Summary

In this tutorial we learn how to install jcip-annotations-javadoc on CentOS 7 using yum and dnf.