How To Install fuse-encfs on CentOS 8

fuse-encfs is Encrypted pass-thru filesystem in userspace

Introduction

In this tutorial we learn how to install fuse-encfs on CentOS 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 CentOS 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 CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove fuse-encfs

fuse-encfs Package Contents on CentOS 8

/usr/bin/encfs
/usr/bin/encfsctl
/usr/bin/encfssh
/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/a1984b20c0335b0044a83f91f68b3e7b131acf
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/c6fe6b51f54be79ecd7241bd3d4db4446bff5e
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/78cebec598a0d4a427d76fed64074f15b5fc20
/usr/lib64/libencfs.so.1.9
/usr/lib64/libencfs.so.1.9.5
/usr/share/doc/fuse-encfs
/usr/share/doc/fuse-encfs/AUTHORS
/usr/share/doc/fuse-encfs/ChangeLog
/usr/share/doc/fuse-encfs/README.md
/usr/share/licenses/fuse-encfs
/usr/share/licenses/fuse-encfs/COPYING
/usr/share/licenses/fuse-encfs/COPYING.GPL
/usr/share/locale/ar/LC_MESSAGES/encfs.mo
/usr/share/locale/be/LC_MESSAGES/encfs.mo
/usr/share/locale/bg/LC_MESSAGES/encfs.mo
/usr/share/locale/bs/LC_MESSAGES/encfs.mo
/usr/share/locale/ca/LC_MESSAGES/encfs.mo
/usr/share/locale/cs/LC_MESSAGES/encfs.mo
/usr/share/locale/da/LC_MESSAGES/encfs.mo
/usr/share/locale/de/LC_MESSAGES/encfs.mo
/usr/share/locale/de_AT/LC_MESSAGES/encfs.mo
/usr/share/locale/de_CH/LC_MESSAGES/encfs.mo
/usr/share/locale/de_DE/LC_MESSAGES/encfs.mo
/usr/share/locale/el/LC_MESSAGES/encfs.mo
/usr/share/locale/eo/LC_MESSAGES/encfs.mo
/usr/share/locale/es/LC_MESSAGES/encfs.mo
/usr/share/locale/es_ES/LC_MESSAGES/encfs.mo
/usr/share/locale/es_PE/LC_MESSAGES/encfs.mo
/usr/share/locale/et/LC_MESSAGES/encfs.mo
/usr/share/locale/fi/LC_MESSAGES/encfs.mo
/usr/share/locale/fr/LC_MESSAGES/encfs.mo
/usr/share/locale/fr_FR/LC_MESSAGES/encfs.mo
/usr/share/locale/gl/LC_MESSAGES/encfs.mo
/usr/share/locale/he/LC_MESSAGES/encfs.mo
/usr/share/locale/hr/LC_MESSAGES/encfs.mo
/usr/share/locale/hu/LC_MESSAGES/encfs.mo
/usr/share/locale/id/LC_MESSAGES/encfs.mo
/usr/share/locale/it/LC_MESSAGES/encfs.mo
/usr/share/locale/ja/LC_MESSAGES/encfs.mo
/usr/share/locale/ko/LC_MESSAGES/encfs.mo
/usr/share/locale/lv/LC_MESSAGES/encfs.mo
/usr/share/locale/nb/LC_MESSAGES/encfs.mo
/usr/share/locale/nds/LC_MESSAGES/encfs.mo
/usr/share/locale/nl/LC_MESSAGES/encfs.mo
/usr/share/locale/nn/LC_MESSAGES/encfs.mo
/usr/share/locale/oc/LC_MESSAGES/encfs.mo
/usr/share/locale/pl/LC_MESSAGES/encfs.mo
/usr/share/locale/pt/LC_MESSAGES/encfs.mo
/usr/share/locale/pt_BR/LC_MESSAGES/encfs.mo
/usr/share/locale/pt_PT/LC_MESSAGES/encfs.mo
/usr/share/locale/ro/LC_MESSAGES/encfs.mo
/usr/share/locale/ru/LC_MESSAGES/encfs.mo
/usr/share/locale/sk/LC_MESSAGES/encfs.mo
/usr/share/locale/sr/LC_MESSAGES/encfs.mo
/usr/share/locale/sv/LC_MESSAGES/encfs.mo
/usr/share/locale/ta/LC_MESSAGES/encfs.mo
/usr/share/locale/tr/LC_MESSAGES/encfs.mo
/usr/share/locale/uk/LC_MESSAGES/encfs.mo
/usr/share/locale/vi/LC_MESSAGES/encfs.mo
/usr/share/locale/zh_CN/LC_MESSAGES/encfs.mo
/usr/share/locale/zh_HK/LC_MESSAGES/encfs.mo
/usr/share/locale/zh_TW/LC_MESSAGES/encfs.mo
/usr/share/man/man1/encfs.1.gz
/usr/share/man/man1/encfsctl.1.gz
/usr/share/man/man1/encfssh.1.gz

References

Summary

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