weather command not found

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

Introduction

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

weather: command not found

or when using sudo you get the following error message

sudo: weather: command not found

Solutions to weather: command not found

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

In Ubuntu weather is provided by weather-util package.

weather-util is:

This utility is intended to provide quick access to current weather conditions and forecasts. Presently, it is capable of providing data for localities throughout the United States of America and some select locations globally by retrieving and processing METAR data from the National Oceanic and Atmospheric Administration and forecasts from the National Weather Service.

The weather-util-data package is recommended to enable searches for nearby sources of weather data–otherwise you have to look up and build configuration for all the data source URIs yourself.

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

sudo apt-get -y install weather-util

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

You can also use apt command to install weather-util.

sudo apt -y install weather-util

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

sudo aptitude install weather-util

Summary

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