How To Install cachefilesd.x86_64 on Amazon Linux 2

In this tutorial we learn how to install cachefilesd.x86_64 in Amazon Linux 2. cachefilesd.x86_64 is CacheFiles user-space management daemon

Introduction

In this tutorial we learn how to install cachefilesd.x86_64 on Amazon Linux 2.

What is cachefilesd.x86_64

The cachefilesd daemon manages the caching files and directory that are that are used by network file systems such a AFS and NFS to do persistent caching to the local disk.

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

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

sudo yum -y install cachefilesd.x86_64

How To Uninstall cachefilesd.x86_64 on Amazon Linux 2

To uninstall only the cachefilesd.x86_64 package we can use the following command:

sudo yum remove cachefilesd.x86_64

cachefilesd.x86_64 Package Contents on Amazon Linux 2

/etc/cachefilesd.conf
/usr/lib/systemd/system/cachefilesd.service
/usr/sbin/cachefilesd
/usr/share/doc/cachefilesd-0.10.9
/usr/share/doc/cachefilesd-0.10.9/README
/usr/share/doc/cachefilesd-0.10.9/cachefilesd.fc
/usr/share/doc/cachefilesd-0.10.9/cachefilesd.if
/usr/share/doc/cachefilesd-0.10.9/cachefilesd.te
/usr/share/doc/cachefilesd-0.10.9/howto.txt
/usr/share/doc/cachefilesd-0.10.9/move-cache.txt
/usr/share/man/man5/cachefilesd.conf.5.gz
/usr/share/man/man8/cachefilesd.8.gz
/var/cache/fscache

References

Summary

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