Linux Tool To Know Weather in your City from Terminal

Posted on : December 27, 2013 By
| Reply More

weather-util is a nice command-line utility to obtain weather conditions and forecasts directly from the terminal. Where does this tool get the information? It retrieves and processes METAR data from the National Oceanic and Atmospheric Administration and forecasts from the National Weather Service.

Install weather-util in Ubuntu and Debian with the following command.

sudo apt-get install weather-util

how to get information about weather from the terminal

After the installation is finished, you can find out the version of the weather-util by using the --version option like shown in the following screenshot. As you can see, I am running the 1.5 version.

weather-util --version

how to get weather information from the terminal

To find weather information about your city, there is one condition that is a must, your city should have an airport. I live in Tirana, the capital city of Albania. The international Civil Aviation Organization airport code of Tirana International Airport is LATI. How to use the ICAO code with the weather-util command-line utility?

weather-util -i LATI

how to get weather information from the terminal

how to get weather information from the terminal


Free Linux Ebook to Download

Leave a Reply

All comments are subject to moderation.