How To Install google-android-sdk-docs-installer on Ubuntu 20.04

Hostnbit
In this tutorial we learn how to install google-android-sdk-docs-installer on Ubuntu 20.04. google-android-sdk-docs-installer is Android SDK Documentation from Google

Introduction

In this tutorial we learn how to install google-android-sdk-docs-installer on Ubuntu 20.04.

What is google-android-sdk-docs-installer

google-android-sdk-docs-installer is:

This package will download the Android SDK Documentation from Google and
create a Debian package. This package also aims to strip out all calls to
the networking, including tracking services like Google Analytics and
Doubleclick. These documentation files still require the Google “jsapi”,
which is only available by fetching it each time from
http://www.google.com/jsapi. This package forces it to use https://, but
otherwise, these docs have to phone home in order for any of the javascript
to work.

WARNING: Installing this Debian package causes docs-24_r01.zip to be
downloaded from https://dl.google.com and/or from other suggested
mirrors. Also, since Google is often blocked in China, the install
process will try again on Chinese mirrors if the Google central
download repo is not available. Since the zipball is checked against
the embedded SHA1 checksum, the install will fail if the mirror
contains a corrupted version.

The End User License Agreement of this binary package is available here:
https://developer.android.com/sdk/terms.html

The code in the documentation is licensed under the Apache 2.0, and
the content is licensed under Creative Commons CC-BY 2.5. The CC-BY
2.5 license is non-free but can be legally distributed by Debian.
This package avoids the issue all together since each user directly
downloads the files from Google, and must agree to Google’s license.

There are three methods to install google-android-sdk-docs-installer on Ubuntu 20.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 google-android-sdk-docs-installer Using apt-get

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

sudo apt-get update

After updating apt database, We can install google-android-sdk-docs-installer using apt-get by running the following command:

sudo apt-get -y install google-android-sdk-docs-installer

Install google-android-sdk-docs-installer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install google-android-sdk-docs-installer using apt by running the following command:

sudo apt -y install google-android-sdk-docs-installer

Install google-android-sdk-docs-installer 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 google-android-sdk-docs-installer using aptitude by running the following command:

sudo aptitude -y install google-android-sdk-docs-installer

How To Uninstall google-android-sdk-docs-installer on Ubuntu 20.04

To uninstall only the google-android-sdk-docs-installer package we can use the following command:

sudo apt-get remove google-android-sdk-docs-installer

Uninstall google-android-sdk-docs-installer And Its Dependencies

To uninstall google-android-sdk-docs-installer and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove google-android-sdk-docs-installer

Remove google-android-sdk-docs-installer Configurations and Data

To remove google-android-sdk-docs-installer configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge google-android-sdk-docs-installer

Remove google-android-sdk-docs-installer configuration, data, and all of its dependencies

We can use the following command to remove google-android-sdk-docs-installer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge google-android-sdk-docs-installer

References

Summary

In this tutorial we learn how to install google-android-sdk-docs-installer package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top