zbarcam-gtk command not found

In this troubleshooting guide we learn how to fix zbarcam-gtk command not found error message

Introduction

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

zbarcam-gtk: command not found

or when using sudo you get the following error message

sudo: zbarcam-gtk: command not found

Solutions to zbarcam-gtk: command not found

How To Fix zbarcam-gtk: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu zbarcam-gtk is provided by zbarcam-gtk package.

zbarcam-gtk is:

ZBar is a library for scanning and decoding bar codes from various sources such as video streams, image files or raw intensity sensors. It supports EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code.

This package contains the Gtk-based camara frontend tool.

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

sudo apt-get -y install zbarcam-gtk

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

You can also use apt command to install zbarcam-gtk.

sudo apt -y install zbarcam-gtk

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

sudo aptitude install zbarcam-gtk

Summary

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