How To Install libvuser-google-api-perl on Ubuntu 18.04

In this tutorial we learn how to install libvuser-google-api-perl on Ubuntu 18.04. libvuser-google-api-perl is Perl module that implements the Google Apps Provisioning API

Introduction

In this tutorial we learn how to install libvuser-google-api-perl on Ubuntu 18.04.

What is libvuser-google-api-perl

libvuser-google-api-perl is:

VUser::Google::ProvisioningAPI provides a simple interface to the Google Apps for Your Domain Provisioning API.

The Google Apps for Your Domain Provisioning API enables application developers to programmatically enable access to Google Apps. It provides functions for creating, retrieving, updating and deleting user accounts with one or more domains, nicknames, email aliases, organization units, and groups.

There are three methods to install libvuser-google-api-perl 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 libvuser-google-api-perl Using apt-get

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

sudo apt-get update

After updating apt database, We can install libvuser-google-api-perl using apt-get by running the following command:

sudo apt-get -y install libvuser-google-api-perl

Install libvuser-google-api-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libvuser-google-api-perl using apt by running the following command:

sudo apt -y install libvuser-google-api-perl

Install libvuser-google-api-perl 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 libvuser-google-api-perl using aptitude by running the following command:

sudo aptitude -y install libvuser-google-api-perl

How To Uninstall libvuser-google-api-perl on Ubuntu 18.04

To uninstall only the libvuser-google-api-perl package we can use the following command:

sudo apt-get remove libvuser-google-api-perl

Uninstall libvuser-google-api-perl And Its Dependencies

To uninstall libvuser-google-api-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libvuser-google-api-perl

Remove libvuser-google-api-perl Configurations and Data

To remove libvuser-google-api-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libvuser-google-api-perl

Remove libvuser-google-api-perl configuration, data, and all of its dependencies

We can use the following command to remove libvuser-google-api-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libvuser-google-api-perl

References

Summary

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