Short Guide for Scanning QR codes with Zbar on Ubuntu Linux

The QR codes got quite popular this days. In this short guide, I will show you how to use Zbar to scan and decode QR codes. Zbar can also scan and decode different code bar types, but this is not the subject of the article.

Let’s get started.

Installing Zbar on Ubuntu 13.04, Ubuntu 12.10 and Ubuntu 12.04:

$ sudo apt-get install zbar-tools

Start Using Zbar:

Save the QR image and do this (i will save it as linuxg.png):

$ zbarimg linuxg.png
scanned 1 barcode symbols from 1 images in 0.02 seconds

Zbar can also decode QR code by webcam, but I have not tested this. Install zbarcam if you are curious: sudo apt-get install zbarcam.

Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!
One comment on “Short Guide for Scanning QR codes with Zbar on Ubuntu Linux
  1. loki says:

    thanks nice info……. 🙂

    hi how can i read “QR-Code:” this result in my ruby/some program code ??????

Leave a Reply

Your email address will not be published. Required fields are marked *




Subscribe to get the latest Linux news and how to guides directly on your e-mail!