How to Install and Uninstall scannotation.noarch Package on Amazon Linux 2

Last updated: January 22,2025

1. Install "scannotation.noarch" package

In this section, we are going to explain the necessary steps to install scannotation.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install scannotation.noarch

2. Uninstall "scannotation.noarch" package

This guide covers the steps necessary to uninstall scannotation.noarch on Amazon Linux 2:

$ sudo yum remove scannotation.noarch $ sudo yum autoremove

3. Information about the scannotation.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : scannotation
Arch : noarch
Version : 1.0.3
Release : 0.7.r12.amzn2
Size : 23 k
Repo : amzn2-core/2/x86_64
Summary : A Java annotation scanner
URL : http://scannotation.sourceforge.net
License : ASL 2.0
Description : Scannotation is a Java library that creates an annotation database
: from a set of .class files.This database is really just a set of
: maps that index what annotations are used and what classes are
: using them. Why do you need this? What if you are an annotation
: framework like an EJB 3.0 container and you want to automatically
: scan your classpath for EJB annotations so that you know what to
: deploy? Scannotation gives you apis that allow you to find
: archives in your classpath or WAR (web application) that you want
: to scan, then automatically scans them without loading each and
: every class within those archives