How To Install libscout on Debian 11
Introduction
In this tutorial we learn how to install libscout
on Debian 11.
What is libscout
libscout is:
LibScout is a light-weight and effective static analysis tool to detect third-party libraries in Android apps. The detection is resilient against common bytecode obfuscation techniques such as identifier renaming or code-based obfuscations such as reflection-based API hiding or control-flow randomization.
LibScout requires the original library SDKs (compiled .jar/.aar files) to extract library profiles that can be used for detection on Android apps.
Unique features:
- Library detection resilient against many kinds of bytecode obfuscation.
- Capability of pinpointing the exact library version (in some cases to a set of 2-3 candidate versions).
- Capability of handling dead-code elimination, by computing a similarity score against baseline SDKs.
There are three methods to install libscout
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libscout Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libscout
using apt-get
by running the following command:
sudo apt-get -y install libscout
Install libscout Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libscout
using apt
by running the following command:
sudo apt -y install libscout
Install libscout 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 libscout
using aptitude
by running the following command:
sudo aptitude -y install libscout
How To Uninstall libscout on Debian 11
To uninstall only the libscout
package we can use the following command:
sudo apt-get remove libscout
Uninstall libscout And Its Dependencies
To uninstall libscout
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libscout
Remove libscout Configurations and Data
To remove libscout
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libscout
Remove libscout configuration, data, and all of its dependencies
We can use the following command to remove libscout
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libscout
Dependencies
libscout have the following dependencies:
- default-jre
- jarwrapper
- libandroid-23-java
- libcava-java
- libcommons-cli-java
- libcommons-io-java
- libgoogle-gson-java
- libguava-java
- liblogback-java
- libsemver-java
- libslf4j-java
- libwala-java
References
Summary
In this tutorial we learn how to install libscout
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.