How To Install libgradle-android-plugin-java-doc on Ubuntu 18.04

In this tutorial we learn how to install libgradle-android-plugin-java-doc on Ubuntu 18.04. libgradle-android-plugin-java-doc is Android Plugin for Gradle - Documentations

Introduction

In this tutorial we learn how to install libgradle-android-plugin-java-doc on Ubuntu 18.04.

What is libgradle-android-plugin-java-doc

libgradle-android-plugin-java-doc is:

The Android build system uses the Android Plugin for Gradle to support building Android applications with the Gradle build toolkit. The plugin runs independent of Android Studio so the plugin and the Gradle build system can be updated independently of Android Studio. You can build your Android applications from within Android Studio or from the command line on your machine or on machines where Android Studio is not installed (such as continuous integration servers).

This package provides some templates for using the Gradle plugin.

There are three methods to install libgradle-android-plugin-java-doc 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 libgradle-android-plugin-java-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install libgradle-android-plugin-java-doc using apt-get by running the following command:

sudo apt-get -y install libgradle-android-plugin-java-doc

Install libgradle-android-plugin-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgradle-android-plugin-java-doc using apt by running the following command:

sudo apt -y install libgradle-android-plugin-java-doc

Install libgradle-android-plugin-java-doc 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 libgradle-android-plugin-java-doc using aptitude by running the following command:

sudo aptitude -y install libgradle-android-plugin-java-doc

How To Uninstall libgradle-android-plugin-java-doc on Ubuntu 18.04

To uninstall only the libgradle-android-plugin-java-doc package we can use the following command:

sudo apt-get remove libgradle-android-plugin-java-doc

Uninstall libgradle-android-plugin-java-doc And Its Dependencies

To uninstall libgradle-android-plugin-java-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libgradle-android-plugin-java-doc

Remove libgradle-android-plugin-java-doc Configurations and Data

To remove libgradle-android-plugin-java-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgradle-android-plugin-java-doc

Remove libgradle-android-plugin-java-doc configuration, data, and all of its dependencies

We can use the following command to remove libgradle-android-plugin-java-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgradle-android-plugin-java-doc

References

Summary

In this tutorial we learn how to install libgradle-android-plugin-java-doc package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.