How To Install android-libboringssl on Kali Linux
Introduction
In this tutorial we learn how to install android-libboringssl
on Kali Linux.
What is android-libboringssl
android-libboringssl is:
The Android SDK builds against a static version of BoringSSL, Google’s internal fork of OpenSSL. This package should never be used for anything but Android SDK packages that already depend on it.
BoringSSL arose because Google used OpenSSL for many years in various ways and, over time, built up a large number of patches that were maintained while tracking upstream OpenSSL. As Google??s product portfolio became more complex, more copies of OpenSSL sprung up and the effort involved in maintaining all these patches in multiple places was growing steadily.
This is the Android AOSP fork of BoringSSL which is designed to be used by Android and its SDK. BoringSSL is only ever statically linked into apps, and pinned to a commit version. Upstream has no official releases of BoringSSL on its own, so it must be included separately for each project that uses it.
There are three methods to install android-libboringssl
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 android-libboringssl 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-libboringssl
using apt-get
by running the following command:
sudo apt-get -y install android-libboringssl
Install android-libboringssl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install android-libboringssl
using apt
by running the following command:
sudo apt -y install android-libboringssl
Install android-libboringssl 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 android-libboringssl
using aptitude
by running the following command:
sudo aptitude -y install android-libboringssl
How To Uninstall android-libboringssl on Kali Linux
To uninstall only the android-libboringssl
package we can use the following command:
sudo apt-get remove android-libboringssl
Uninstall android-libboringssl And Its Dependencies
To uninstall android-libboringssl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove android-libboringssl
Remove android-libboringssl Configurations and Data
To remove android-libboringssl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge android-libboringssl
Remove android-libboringssl configuration, data, and all of its dependencies
We can use the following command to remove android-libboringssl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge android-libboringssl
Dependencies
android-libboringssl have the following dependencies:
References
Summary
In this tutorial we learn how to install android-libboringssl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.