How To Install fuse-encfs on AlmaLinux 8

In this tutorial we learn how to install fuse-encfs in AlmaLinux 8. fuse-encfs is Encrypted pass-thru filesystem in userspace

Introduction

In this tutorial we learn how to install fuse-encfs on AlmaLinux 8.

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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install fuse-encfs.

Install fuse-encfs on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install fuse-encfs

Install fuse-encfs on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install fuse-encfs

How To Uninstall fuse-encfs on AlmaLinux 8

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 AlmaLinux 8 using yum and dnf.