How To Install wmweather on Ubuntu 18.04

In this tutorial we learn how to install wmweather on Ubuntu 18.04. wmweather is WindowMaker dockapp that shows your current weather

Introduction

In this tutorial we learn how to install wmweather on Ubuntu 18.04.

What is wmweather

wmweather is:

wmweather provides a monitor on a 64x64 mini window that displays the current weather. The weather reports are received from NOAA’s National Weather Service at http://www.nws.noaa.gov/, that is the same source that pilots use.

wmweather is designed to work with the WindowMaker dock, but will work with other window managers as well. xbase-clients are required for the left click to bring up the complete METAR record.

There are three methods to install wmweather on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install wmweather Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install wmweather using apt-get by running the following command:

sudo apt-get -y install wmweather

Install wmweather Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install wmweather using apt by running the following command:

sudo apt -y install wmweather

Install wmweather Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install wmweather using aptitude by running the following command:

sudo aptitude -y install wmweather

How To Uninstall wmweather on Ubuntu 18.04

To uninstall only the wmweather package we can use the following command:

sudo apt-get remove wmweather

Uninstall wmweather And Its Dependencies

To uninstall wmweather and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove wmweather

Remove wmweather Configurations and Data

To remove wmweather configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge wmweather

Remove wmweather configuration, data, and all of its dependencies

We can use the following command to remove wmweather configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge wmweather

References

Summary

In this tutorial we learn how to install wmweather package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.