How To Install libbearssl-dev on Debian 12
Introduction
In this tutorial we learn how to install libbearssl-dev
on Debian 12.
What is libbearssl-dev
libbearssl-dev is:
It aims at offering the following features:
Be correct and secure. In particular, insecure protocol versions and choices of algorithms are not supported, by design; cryptographic algorithm implementations are constant-time by default.
Be small, both in RAM and code footprint. For instance, a minimal server implementation may fit in about 20 kilobytes of compiled code and 25 kilobytes of RAM.
Be highly portable. BearSSL targets not only ??big?? operating systems like Linux and Windows, but also small embedded systems and even special contexts like bootstrap code.
Be feature-rich and extensible. SSL/TLS has many defined cipher suites and extensions; BearSSL should implement most of them, and allow extra algorithm implementations to be added afterwards, possibly from third parties.
Development files.
There are three methods to install libbearssl-dev
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libbearssl-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libbearssl-dev
using apt-get
by running the following command:
sudo apt-get -y install libbearssl-dev
Install libbearssl-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libbearssl-dev
using apt
by running the following command:
sudo apt -y install libbearssl-dev
Install libbearssl-dev 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 libbearssl-dev
using aptitude
by running the following command:
sudo aptitude -y install libbearssl-dev
How To Uninstall libbearssl-dev on Debian 12
To uninstall only the libbearssl-dev
package we can use the following command:
sudo apt-get remove libbearssl-dev
Uninstall libbearssl-dev And Its Dependencies
To uninstall libbearssl-dev
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libbearssl-dev
Remove libbearssl-dev Configurations and Data
To remove libbearssl-dev
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libbearssl-dev
Remove libbearssl-dev configuration, data, and all of its dependencies
We can use the following command to remove libbearssl-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libbearssl-dev
Dependencies
libbearssl-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libbearssl-dev
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.