How To Install s3fs-fuse on CentOS 7

In this tutorial we learn how to install s3fs-fuse on CentOS 7. s3fs-fuse is FUSE-based file system backed by Amazon S3

Introduction

In this tutorial we learn how to install s3fs-fuse on CentOS 7.

What is s3fs-fuse

s3fs is a FUSE file system that allows you to mount an Amazon S3 bucket as a local file system. It stores files natively and transparently in S3 (i.e., you can use other programs to access the same files). Maximum file size is 5 TB when using multipart upload. s3fs is stable and is being used in number of production environments, e.g., rsync backup to s3.

We can use yum or dnf to install s3fs-fuse on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install s3fs-fuse.

Install s3fs-fuse on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install s3fs-fuse using yum by running the following command:

sudo yum -y install s3fs-fuse

Install s3fs-fuse on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install s3fs-fuse using dnf by running the following command:

sudo dnf -y install s3fs-fuse

How To Uninstall s3fs-fuse on CentOS 7

To uninstall only the s3fs-fuse package we can use the following command:

sudo dnf remove s3fs-fuse

References

Summary

In this tutorial we learn how to install s3fs-fuse on CentOS 7 using yum and dnf.