gphoto2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gphoto2: command not found
or when using sudo you get the following error message
sudo: gphoto2: command not found
Solutions to gphoto2: command not found
How To Fix gphoto2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gphoto2 is provided by gphoto2 package.
gphoto2 is:
The gphoto2 library can be used by applications to access various digital camera models, via standard protocols such as USB Mass Storage and PTP, or vendor-specific protocols.
This package provides the gphoto2 command-line frontend.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gphoto2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gphoto2.
sudo apt -y install gphoto2
Or if you have aptitude installed you can use the following command.
sudo aptitude install gphoto2
Summary
In this tutorial we learn how to fix gphoto2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.