Weather updates on Command line Debian Lenny

Command line is really fast and efficient to use in day to day life if you know how to use it. Today I found a very good package for debian lenny command line to watch the weather report. Weather-util is a command line utility to see the weather updates on your debian lenny command line where you just need to enter a very simple command to get the update weather on your screen.

This command-line utility is intended to provide quick access to current weather conditions and forecasts. Presently, it is capable of returning data for localities throughout the USA by retrieving and formatting decoded METARs (Meteorological Aerodrome Reports) from NOAA (the USA National Oceanic and Atmospheric Administration) and forecasts from NWS (the USA National Weather Service).

Help can be found from the manual pages written in very simple and clear English. commands are given as under to get the help:

man weather

The above command will give you a complete help with sample examples to get the weather updates on your command line.

How to Install weather-util on Debian Lenny?

Use the under given commands:

wget http://ftp.us.debian.org/debian/pool/main/w/weather-util/weather-util_1.5-1_all.deb

dpkg –i weather-util_1.5-1_all.deb

weather-util will require the python support to install on debian lenny. For this use the under given package to install:

wget http://ftp.us.debian.org/debian/pool/main/p/python-support/python-support_1.0.9_all.deb

dpkg –i python-support_1.0.9_all.deb

How to get the weather updates?

command is given as under to get the weather updates on your command line:

weather -c Alexandria -i KLCH

Above given command will give you the updated weather report for Alexandria. Output of the above command is given as under:

Current conditions at Lake Charles Regional Airport, LA (KLCH)
Last updated Aug 16, 2010 – 02:53 AM EDT / 2010.08.16 0653 UTC
   Temperature: 82.9 F (28.3 C)
   Relative Humidity: 93%
   Wind: Calm
   Sky conditions: clear

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.