How To Install firewalld-filesystem.noarch on Amazon Linux 2

In this tutorial we learn how to install firewalld-filesystem.noarch in Amazon Linux 2. firewalld-filesystem.noarch is Firewalld directory layout and rpm macros

Introduction

In this tutorial we learn how to install firewalld-filesystem.noarch on Amazon Linux 2.

What is firewalld-filesystem.noarch

This package provides directories and rpm macros which are required by other packages that add firewalld configuration files.

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

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

sudo yum -y install firewalld-filesystem.noarch

How To Uninstall firewalld-filesystem.noarch on Amazon Linux 2

To uninstall only the firewalld-filesystem.noarch package we can use the following command:

sudo yum remove firewalld-filesystem.noarch

firewalld-filesystem.noarch Package Contents on Amazon Linux 2

/usr/lib/firewalld
/usr/lib/firewalld/helpers
/usr/lib/firewalld/icmptypes
/usr/lib/firewalld/ipsets
/usr/lib/firewalld/services
/usr/lib/firewalld/xmlschema
/usr/lib/firewalld/zones
/usr/lib/rpm/macros.d/macros.firewalld

References

Summary

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