wxrc command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wxrc: command not found
or when using sudo you get the following error message
sudo: wxrc: command not found
Solutions to wxrc: command not found
How To Fix wxrc: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wxrc is provided by wx-common package.
wx-common is:
wxWidgets (formerly known as wxWindows) is a class library for C++ providing GUI components and other facilities on several popular platforms (and some unpopular ones as well).
This package provides common support files not bound to any particular wxWidgets release, such as font metrics required by some ports, and miscellaneous developer aids and binary utilities.
To fix this problem, we can install more using the command below.
sudo apt-get -y install wx-common
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install wx-common.
sudo apt -y install wx-common
Or if you have aptitude installed you can use the following command.
sudo aptitude install wx-common
Summary
In this tutorial we learn how to fix wxrc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.