g-lensfun-update-data command not found

In this troubleshooting guide we learn how to fix g-lensfun-update-data command not found error message

Introduction

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

g-lensfun-update-data: command not found

or when using sudo you get the following error message

sudo: g-lensfun-update-data: command not found

Solutions to g-lensfun-update-data: command not found

How To Fix g-lensfun-update-data: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu g-lensfun-update-data is provided by liblensfun-bin package.

liblensfun-bin is:

Lensfun is an opensource database of photographic lenses and their characteristics. It contains three kinds of objects:

  • mounts
  • cameras
  • lenses

It is used in various photo-related software in which it allows the correction of various artifacts:

  • distortion
  • transveral (also known as lateral) chromatic aberrations
  • vignetting
  • colour contribution of the lens (correcting said “yellowish” or “blueish” images)

It provides a way to read and search for specific things in the database.

This package contains the utilities.

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

sudo apt-get -y install liblensfun-bin

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

You can also use apt command to install liblensfun-bin.

sudo apt -y install liblensfun-bin

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

sudo aptitude install liblensfun-bin

Summary

In this tutorial we learn how to fix g-lensfun-update-data command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.