How To Install librepository.noarch on Amazon Linux 2

In this tutorial we learn how to install librepository.noarch in Amazon Linux 2. librepository.noarch is Hierarchical repository abstraction layer

Introduction

In this tutorial we learn how to install librepository.noarch on Amazon Linux 2.

What is librepository.noarch

LibRepository provides a simple abstraction layer to access bulk content that is organized in a hierarchical layer.

We can use yum to install librepository.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install librepository.noarch.

Install librepository.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 librepository.noarch using yum by running the following command:

sudo yum -y install librepository.noarch

How To Uninstall librepository.noarch on Amazon Linux 2

To uninstall only the librepository.noarch package we can use the following command:

sudo yum remove librepository.noarch

librepository.noarch Package Contents on Amazon Linux 2

/usr/share/doc/librepository-1.1.3
/usr/share/doc/librepository-1.1.3/ChangeLog.txt
/usr/share/doc/librepository-1.1.3/README.txt
/usr/share/doc/librepository-1.1.3/licence-LGPL.txt
/usr/share/java/librepository-1.1.3.jar
/usr/share/java/librepository.jar

References

Summary

In this tutorial we learn how to install librepository.noarch on Amazon Linux 2 using yum.