wifi-qr command not found

In this troubleshooting guide we learn how to fix wifi-qr command not found error message

Introduction

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

wifi-qr: command not found

or when using sudo you get the following error message

sudo: wifi-qr: command not found

Solutions to wifi-qr: command not found

How To Fix wifi-qr: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu wifi-qr is provided by wifi-qr package.

wifi-qr is:

Xiaomi Android phones has started using QR to use WiFi for sharing. The idea was to get started with Bash, from Android to PC or PC to Mobile, and use Interface for zenity, QR for zbar and qrencode, and nmcli from Network-Manager for Network. For security, you can use WPA, WPA2, WEP, Open and share with the Hidden Network. QR code does not support LDAP Network and VPN. Android can easily generate WiFi QR, but iOS isn’t quite so sure.

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

sudo apt-get -y install wifi-qr

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

You can also use apt command to install wifi-qr.

sudo apt -y install wifi-qr

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

sudo aptitude install wifi-qr

Summary

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