How To Install gbonds-data on Ubuntu 18.04

In this tutorial we learn how to install gbonds-data on Ubuntu 18.04. gbonds-data is GBonds data files

Introduction

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

What is gbonds-data

gbonds-data is:

This package contains architecture-independent supporting data files required for use with GBonds, such as documentation, icons, and the Savings Bond redemption data files.

There are three methods to install gbonds-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 gbonds-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 gbonds-data using apt-get by running the following command:

sudo apt-get -y install gbonds-data

Install gbonds-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gbonds-data

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

sudo aptitude -y install gbonds-data

How To Uninstall gbonds-data on Ubuntu 18.04

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

sudo apt-get remove gbonds-data

Uninstall gbonds-data And Its Dependencies

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

sudo apt-get -y autoremove gbonds-data

Remove gbonds-data Configurations and Data

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

sudo apt-get -y purge gbonds-data

Remove gbonds-data configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gbonds-data

References

Summary

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