How To Install weather-util-data on Ubuntu 18.04

In this tutorial we learn how to install weather-util-data on Ubuntu 18.04. weather-util-data is optional correlation data for weather-util search feature

Introduction

In this tutorial we learn how to install weather-util-data on Ubuntu 18.04.

What is weather-util-data

weather-util-data is:

This package provides precomputed lookup tables used by the weather utility in the weather-util package when performing searches for proximal weather data. The included tables consist of great arc positional correlations between IATA/FAA (International Air Transport Association and USA Federal Aviation Agency) airport codes, ICAO (International Civil Aviation Organization) weather station codes, NWS (USA National Weather Service) alert/forecast zones, FIPS (USA Federal Information Processing Systems) location codes, USA Census Bureau Gazeteer place names and ZCTAs (USA Census ZIP Code Tabulation Areas). These tables can also be automatically rebuilt from updated public sources using the weather utility in the weather-util package.

There are three methods to install weather-util-data 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 weather-util-data Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install weather-util-data

Install weather-util-data Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install weather-util-data using apt by running the following command:

sudo apt -y install weather-util-data

Install weather-util-data 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 weather-util-data using aptitude by running the following command:

sudo aptitude -y install weather-util-data

How To Uninstall weather-util-data on Ubuntu 18.04

To uninstall only the weather-util-data package we can use the following command:

sudo apt-get remove weather-util-data

Uninstall weather-util-data And Its Dependencies

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

sudo apt-get -y autoremove weather-util-data

Remove weather-util-data Configurations and Data

To remove weather-util-data configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge weather-util-data

Remove weather-util-data configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge weather-util-data

References

Summary

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