How To Install google-android-m2repository-installer on Kali Linux

In this tutorial we learn how to install google-android-m2repository-installer on Kali Linux. google-android-m2repository-installer is Google Android support m2 repository

Introduction

In this tutorial we learn how to install google-android-m2repository-installer on Kali Linux.

What is google-android-m2repository-installer

google-android-m2repository-installer is:

This package will download the Google Android Support Library repository and create a Debian package. This is structured as a maven m2 repository of all the versions of the library.

The Android Support Library offers a number of features that are not built into the framework. These libraries offer backward-compatible versions of new features, provide useful UI elements that are not included in the framework, and provide a range of utilities that apps can draw on.

WARNING: Installing this Debian package causes android_m2repository_r35.zip to be downloaded from dl.google.com and/or from other suggested mirrors. The End User License Agreement of this binary package is available at developer.android.com.

There are three methods to install google-android-m2repository-installer on Kali Linux. 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-m2repository-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-m2repository-installer using apt-get by running the following command:

sudo apt-get -y install google-android-m2repository-installer

Install google-android-m2repository-installer Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install google-android-m2repository-installer

Install google-android-m2repository-installer Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install google-android-m2repository-installer

How To Uninstall google-android-m2repository-installer on Kali Linux

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

sudo apt-get remove google-android-m2repository-installer

Uninstall google-android-m2repository-installer And Its Dependencies

To uninstall google-android-m2repository-installer and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove google-android-m2repository-installer

Remove google-android-m2repository-installer Configurations and Data

To remove google-android-m2repository-installer configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge google-android-m2repository-installer

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

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

sudo apt-get -y autoremove --purge google-android-m2repository-installer

Dependencies

google-android-m2repository-installer have the following dependencies:

References

Summary

In this tutorial we learn how to install google-android-m2repository-installer package on Kali Linux using different package management tools: apt, apt-get and aptitude.