# W0ANM Weather Scripts

I have a set of weather scripts that will get weather forecast, current conditions, and weather alerts. These scripts required festival, xml, and wget packages. Download and install the RPM after the rpm dependencies are met. The dependencies are listed below.
Weather Scripts: WxScripts-0.9.4.noarch.rpm
Here are the RPM's needed for installation (versions may vary):
FC3:
festival-1.4.2-25.i386.rpm
wget-1.10.2-0.fc3.i386.rpm
xmlstarlet-1.0.1-1.i586.rpm
perl-DateManip-5.42a-3.noarch.rpm
FC5:
wget-1.10.2-3.2.1.i386.rpm
festival- 1.95-5.2.i386.rpm
xmlstarlet-1.0.1-3.fc5.i386.rpm
perl-DateManip-5.44-1.2.noarch.rpm
CentOS 4.4:
wget - wget-1.10.2-0.40E.i386.rpm
festival - festival-1.4.2-25.i386.rpm
xml - xmlstarlet-1.0.1-1.i386.rpm
manip.pm - perl-DateManip-5.42a-3.noarch.rpm
If yum is configured correctly, you can automatically download some of the required RPM's and install the required packages by entering the following command as root:
# yum install festival.i386
# yum install wget.i386
# yum install perl-DateManip
The xmlstarlet-1.0.1 rpm can be found at sourceforge.net.

Note - For FC5, you can install all of the required rpm's via yum. One final note, you can use Cepstral's text to speech utilities. I found that the voices are more natural sounding. For more information, see Cepstral's web site and the WxScript.txt document found in "/home/irlp/docs".

To install the WxScript rpm, move the rpm file to the irlp system. As root, change directories to the location of where the WxScript rpm is located. Then execute the following command:

# rpm -i WxScripts-<version>.noarch.rpm

If you get errors regarding missing dependencies, and you have installed the required packages, then try:
# rpm -i --nodeps WxScripts-<version>.noarch.rpm
If you are upgrading from a previous version, use the following command:
# rpm -U WxScripts-<version>.noarch.rpm
Review the WxScripts script documentation which is found in "/home/irlp/docs" to modify the configuration file for your location.
Bug fix HISTORY