How to Install and Uninstall google-guice.noarch Package on Amazon Linux 2

Last updated: May 17,2024

1. Install "google-guice.noarch" package

This is a short guide on how to install google-guice.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install google-guice.noarch

2. Uninstall "google-guice.noarch" package

This tutorial shows how to uninstall google-guice.noarch on Amazon Linux 2:

$ sudo yum remove google-guice.noarch $ sudo yum autoremove

3. Information about the google-guice.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : google-guice
Arch : noarch
Version : 3.1.3
Release : 9.amzn2
Size : 384 k
Repo : amzn2-core/2/x86_64
Summary : Lightweight dependency injection framework for Java 5 and above
URL : https://github.com/sonatype/sisu-guice
License : ASL 2.0
Description : Put simply, Guice alleviates the need for factories and the use of
: new in your Java code. Think of Guice's @Inject as the new new.
: You will still need to write factories in some cases, but your
: code will not depend directly on them. Your code will be easier to
: change, unit test and reuse in other contexts.
:
: Guice embraces Java's type safe nature, especially when it comes
: to features introduced in Java 5 such as generics and annotations.
: You might think of Guice as filling in missing features for core
: Java. Ideally, the language itself would provide most of the same
: features, but until such a language comes along, we have Guice.
:
: Guice helps you design better APIs, and the Guice API itself sets
: a good example. Guice is not a kitchen sink. We justify each
: feature with at least three use cases. When in doubt, we leave it
: out. We build general functionality which enables you to extend
: Guice rather than adding every feature to the core framework.