How To Install fuse-encfs on CentOS 7

In this tutorial we learn how to install fuse-encfs on CentOS 7. fuse-encfs is Encrypted pass-thru filesystem in userspace

Introduction

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

What is fuse-encfs

EncFS implements an encrypted filesystem in userspace using FUSE. FUSE provides a Linux kernel module which allows virtual filesystems to be written in userspace. EncFS encrypts all data and filenames in the filesystem and passes access through to the underlying filesystem. Similar to CFS except that it does not use NFS.

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

Install fuse-encfs on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install fuse-encfs

Install fuse-encfs 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 fuse-encfs using dnf by running the following command:

sudo dnf -y install fuse-encfs

How To Uninstall fuse-encfs on CentOS 7

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

sudo dnf remove fuse-encfs

References

Summary

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