gphotofs command not found

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

Introduction

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

gphotofs: command not found

or when using sudo you get the following error message

sudo: gphotofs: command not found

Solutions to gphotofs: command not found

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

In Ubuntu gphotofs is provided by gphotofs package.

gphotofs is:

GPhotoFS is a filesystem client based on libgphoto2 that exposes supported cameras as filesystems; while some cameras implement the USB Mass Storage class and already appear as filesystems (making this program redundant), many use the Picture Transfer Protocol (PTP) or some other custom protocol. But as long as the camera is supported by libgphoto2, it can be mounted as a filesystem using this program.

This package is based on the FUSE (filesystem in user space) infra-structure of the Linux kernel and, therefore, does not require any modifications to the kernel, apart from the fuse module.

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

sudo apt-get -y install gphotofs

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

You can also use apt command to install gphotofs.

sudo apt -y install gphotofs

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

sudo aptitude install gphotofs

Summary

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