How To Install androidsdk-ddms on Ubuntu 18.04
Introduction
In this tutorial we learn how to install androidsdk-ddms
on Ubuntu 18.04.
What is androidsdk-ddms
androidsdk-ddms is:
Dalvik Debug Monitor is a tool for debugging Android applications. Among others, it provides these capabilities:
- Port-forwarding services
- Screen capture on the device
- Thread and heap information on the device
- Logcat, process, and radio state information
- Incoming call and SMS spoofing
- Location data spoofing
This package is required only when you want to run DDMS as a stand-alone application. For usage from within Eclipse IDE, install eclipse-adt.
There are three methods to install androidsdk-ddms
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 androidsdk-ddms Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install androidsdk-ddms
using apt-get
by running the following command:
sudo apt-get -y install androidsdk-ddms
Install androidsdk-ddms Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install androidsdk-ddms
using apt
by running the following command:
sudo apt -y install androidsdk-ddms
Install androidsdk-ddms 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 androidsdk-ddms
using aptitude
by running the following command:
sudo aptitude -y install androidsdk-ddms
How To Uninstall androidsdk-ddms on Ubuntu 18.04
To uninstall only the androidsdk-ddms
package we can use the following command:
sudo apt-get remove androidsdk-ddms
Uninstall androidsdk-ddms And Its Dependencies
To uninstall androidsdk-ddms
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove androidsdk-ddms
Remove androidsdk-ddms Configurations and Data
To remove androidsdk-ddms
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge androidsdk-ddms
Remove androidsdk-ddms configuration, data, and all of its dependencies
We can use the following command to remove androidsdk-ddms
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge androidsdk-ddms
References
Summary
In this tutorial we learn how to install androidsdk-ddms
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.