How To Install libgdata-common on Ubuntu 18.04

In this tutorial we learn how to install libgdata-common on Ubuntu 18.04. libgdata-common is Library for accessing GData webservices - common data files

Introduction

In this tutorial we learn how to install libgdata-common on Ubuntu 18.04.

What is libgdata-common

libgdata-common is:

libgdata is a GLib-based library for accessing online service APIs using the GData protocol — most notably, Google’s services. It provides APIs to access the common Google services, and has full asynchronous support.

This package contains the common data files for libgdata.

There are three methods to install libgdata-common 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 libgdata-common Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libgdata-common

Install libgdata-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgdata-common

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

sudo aptitude -y install libgdata-common

How To Uninstall libgdata-common on Ubuntu 18.04

To uninstall only the libgdata-common package we can use the following command:

sudo apt-get remove libgdata-common

Uninstall libgdata-common And Its Dependencies

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

sudo apt-get -y autoremove libgdata-common

Remove libgdata-common Configurations and Data

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

sudo apt-get -y purge libgdata-common

Remove libgdata-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgdata-common

References

Summary

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