wininfo command not found

In this troubleshooting guide we learn how to fix wininfo command not found error message

Introduction

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

wininfo: command not found

or when using sudo you get the following error message

sudo: wininfo: command not found

Solutions to wininfo: command not found

How To Fix wininfo: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu wininfo is provided by wininfo package.

wininfo is:

This package provides a window information utility for developers of applications, toolkits, and window managers. wininfo follows your pointer providing information about the windows below. The information presented includes:

  • a detailed description of the window hierarchy below the pointer;
  • parsed interpretations of standard properties from both the application window and the window manager;
  • information about X server resources used by the application.

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

sudo apt-get -y install wininfo

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

You can also use apt command to install wininfo.

sudo apt -y install wininfo

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

sudo aptitude install wininfo

Summary

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