metar command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
metar: command not found
or when using sudo you get the following error message
sudo: metar: command not found
Solutions to metar: command not found
How To Fix metar: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu metar is provided by metar package.
metar is:
Metar is a small utility that will download meteorological reports for aviation from the NOAA HTTP server at weather.noaa.gov and optionally decodes them into a human readable form.
This package is particularly useful is you want to quickly find out what the weather is like in places all over the world and you do not need fancy GUIs.
To fix this problem, we can install more using the command below.
sudo apt-get -y install metar
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install metar.
sudo apt -y install metar
Or if you have aptitude installed you can use the following command.
sudo aptitude install metar
Summary
In this tutorial we learn how to fix metar command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.