How To Install gnome-online-accounts on Ubuntu 18.04

In this tutorial we learn how to install gnome-online-accounts on Ubuntu 18.04. gnome-online-accounts is service to manage online accounts for the GNOME desktop

Introduction

In this tutorial we learn how to install gnome-online-accounts on Ubuntu 18.04.

What is gnome-online-accounts

gnome-online-accounts is:

This package contains the GNOME Online Accounts service, which provides a centralized place for managing online accounts (Google, etc) for the GNOME desktop.

There are three methods to install gnome-online-accounts 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 gnome-online-accounts Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gnome-online-accounts

Install gnome-online-accounts Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gnome-online-accounts using apt by running the following command:

sudo apt -y install gnome-online-accounts

Install gnome-online-accounts 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 gnome-online-accounts using aptitude by running the following command:

sudo aptitude -y install gnome-online-accounts

How To Uninstall gnome-online-accounts on Ubuntu 18.04

To uninstall only the gnome-online-accounts package we can use the following command:

sudo apt-get remove gnome-online-accounts

Uninstall gnome-online-accounts And Its Dependencies

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

sudo apt-get -y autoremove gnome-online-accounts

Remove gnome-online-accounts Configurations and Data

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

sudo apt-get -y purge gnome-online-accounts

Remove gnome-online-accounts configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gnome-online-accounts

References

Summary

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