erfs command not found

In this troubleshooting guide we learn how to fix erfs command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

erfs: command not found

or when using sudo you get the following error message

sudo: erfs: command not found

Solutions to erfs: command not found

How To Fix erfs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu erfs is provided by erfs package.

erfs is:

An easy-to-use, easy-to-setup, hassle-free secure file system with the encrypted data being stored on a remote cloud server without having to trust the server.

All key material is created on the user’s computer and never stored or transferred to the server.

All data is locally encrypted (including the file name). The encrypted data (and only that!) is stored in the cloud. The data remains secure even if the cloud server is compromised. It does not need root or superuser privileges. No need to run your own server. All you need is the bash script (literally). It is one single command to add and use a file system:

$ erfs mount aDe5F2ik3x35x7pfAEAWdC5Y ~/secure

To fix this problem, we can install more using the command below.

sudo apt-get -y install erfs

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install erfs.

sudo apt -y install erfs

Or if you have aptitude installed you can use the following command.

sudo aptitude install erfs

Summary

In this tutorial we learn how to fix erfs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.