How To Install jzlib-demo.noarch on Amazon Linux 2

In this tutorial we learn how to install jzlib-demo.noarch in Amazon Linux 2. jzlib-demo.noarch is Examples for jzlib

Introduction

In this tutorial we learn how to install jzlib-demo.noarch on Amazon Linux 2.

What is jzlib-demo.noarch

Examples for jzlib.

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

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

sudo yum -y install jzlib-demo.noarch

How To Uninstall jzlib-demo.noarch on Amazon Linux 2

To uninstall only the jzlib-demo.noarch package we can use the following command:

sudo yum remove jzlib-demo.noarch

jzlib-demo.noarch Package Contents on Amazon Linux 2

/usr/share/jzlib
/usr/share/jzlib/README
/usr/share/jzlib/test_deflate_inflate.java
/usr/share/jzlib/test_dict_deflate_inflate.java
/usr/share/jzlib/test_flush_sync.java
/usr/share/jzlib/test_gzip_deflate_inflate.java
/usr/share/jzlib/test_gzip_inflate.java
/usr/share/jzlib/test_large_deflate_inflate.java
/usr/share/jzlib/test_stream_deflate_inflate.java

References

Summary

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