QR Code

Geeks hope you still remember yesterday’s Linux Dare that I had shared on Network NUTS Facebook Page. Where I asked you to tell the message hidden inside a qr code (quick response code).

These kinds of tools are not covered or shared in your standard training modules like RHCE Training or RHCSS Training.

As per Wikipedia – A QR code (short for Quick Response) is a specific matrix barcode (or two-dimensional code), readable by dedicated QR barcode readers and camera phones. The code consists of black modules arranged in a square pattern on a white background. The information encoded can be text, URL or other data.

Lets see how to create a qr code and how to read it using our amazing Linux OS.

Ubuntu Users can just give the command –

sudo apt-get install qrencode

Fedora or RHEL users can use this link – http://rpmfind.net/linux/rpm2html/search.php?query=qrencode

Now once qr code generator installed you need another package to read the message out of the qrcode.

I have used zbar-tools for reading the qrcode. If you have any other qrcode reader, feel free to use it (and share the name here).

Again, Ubuntu users can use –

sudo apt-get install zbar-tools

Fedora or RHEL users can use this link for zbar-tools – http://zbar.sourceforge.net/

Once both the tools are installed you are ready to use the QR.

Here is a illustrated example from my machine using QR.

Using QR Code in Linux

Using QR Code in Linux

Advertisements