mergerfs-fusermount command not found

In this troubleshooting guide we learn how to fix mergerfs-fusermount command not found error message

Introduction

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

mergerfs-fusermount: command not found

or when using sudo you get the following error message

sudo: mergerfs-fusermount: command not found

Solutions to mergerfs-fusermount: command not found

How To Fix mergerfs-fusermount: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mergerfs-fusermount is provided by mergerfs package.

mergerfs is:

mergerfs is a union filesystem geared towards simplifying storage and management of files across numerous commodity storage devices. It is similar to mhddfs, unionfs, and aufs.

Some salient features include

  • Runs in userspace (FUSE)
  • Configurable behaviors
  • Support for extended attributes (xattrs)
  • Support for file attributes (chattr)
  • Runtime configurable (via xattrs)
  • Safe to run as root
  • Opportunistic credential caching
  • Works with heterogeneous filesystem types
  • Handling of writes to full drives
  • Handles pool of readonly and read/write drives

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

sudo apt-get -y install mergerfs

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

You can also use apt command to install mergerfs.

sudo apt -y install mergerfs

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

sudo aptitude install mergerfs

Summary

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