How To Install file-libs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install file-libs.x86_64 in Amazon Linux 2. file-libs.x86_64 is Libraries for applications using libmagic

Introduction

In this tutorial we learn how to install file-libs.x86_64 on Amazon Linux 2.

What is file-libs.x86_64

Libraries for applications using libmagic.

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

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

sudo yum -y install file-libs.x86_64

How To Uninstall file-libs.x86_64 on Amazon Linux 2

To uninstall only the file-libs.x86_64 package we can use the following command:

sudo yum remove file-libs.x86_64

file-libs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libmagic.so.1
/usr/lib64/libmagic.so.1.0.0
/usr/share/doc/file-libs-5.11
/usr/share/doc/file-libs-5.11/COPYING
/usr/share/doc/file-libs-5.11/ChangeLog
/usr/share/doc/file-libs-5.11/README
/usr/share/file
/usr/share/file/magic
/usr/share/magic
/usr/share/man/man5/magic.5.gz
/usr/share/misc/magic
/usr/share/misc/magic.mgc

References

Summary

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