How To Install android-sdk-common on Debian 10

Learn how to install android-sdk-common on Debian 10 with this tutorial. android-sdk-common is Common files of Android SDK base toolset

Introduction

In this tutorial we learn how to install android-sdk-common on Debian 10.

What is android-sdk-common

android-sdk-common is:

The Android SDK includes a variety of tools that help you develop mobile applications for the Android platform. The tools are classified into 3 groups: SDK Tools, Platform-tools and Build-tools.

SDK Tools are platform independent and are required no matter which Android platform you are developing on. It is the base toolset of Android SDK.

This package provides common files of Android SDK Tools.

There are three methods to install android-sdk-common on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install android-sdk-common Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install android-sdk-common

Install android-sdk-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install android-sdk-common

Install android-sdk-common 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install android-sdk-common using aptitude by running the following command:

sudo aptitude -y install android-sdk-common

How To Uninstall android-sdk-common on Debian 10

To uninstall only the android-sdk-common package we can use the following command:

sudo apt-get remove android-sdk-common

Uninstall android-sdk-common And Its Dependencies

To uninstall android-sdk-common and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove android-sdk-common

Remove android-sdk-common Configurations and Data

To remove android-sdk-common configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge android-sdk-common

Remove android-sdk-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge android-sdk-common

Dependencies

android-sdk-common have the following dependencies:

References

Summary

In this tutorial we learn how to install android-sdk-common package on Debian 10 using different package management tools: apt, apt-get and aptitude.