How To Install filesystem-content.x86_64 on Amazon Linux 2

In this tutorial we learn how to install filesystem-content.x86_64 in Amazon Linux 2. filesystem-content.x86_64 is Directory ownership content of the filesystem package

Introduction

In this tutorial we learn how to install filesystem-content.x86_64 on Amazon Linux 2.

What is filesystem-content.x86_64

This subpackage of filesystem package contains just the file with the directories owned by the filesystem package. This can be used during the build process instead of calling rpm -ql filesystem.

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

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

sudo yum -y install filesystem-content.x86_64

How To Uninstall filesystem-content.x86_64 on Amazon Linux 2

To uninstall only the filesystem-content.x86_64 package we can use the following command:

sudo yum remove filesystem-content.x86_64

filesystem-content.x86_64 Package Contents on Amazon Linux 2

/usr/share/filesystem
/usr/share/filesystem/paths

References

Summary

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