How To Install libconduit-ocaml on Debian 12
Introduction
In this tutorial we learn how to install libconduit-ocaml
on Debian 12.
What is libconduit-ocaml
libconduit-ocaml is:
The conduit library takes care of establishing and listening for TCP and SSL/TLS connections for the Lwt and Async libraries.
The reason this library exists is to provide a degree of abstraction from the precise SSL library used, since there are a variety of ways to bind to a library (e.g. the C FFI, or the Ctypes library), as well as well as which library is used (just OpenSSL for now).
By default, OpenSSL is used as the preferred connection library, but you can force the use of the pure OCaml TLS stack by setting the environment variable CONDUIT_TLS=native when starting your program.
This package contains the shared runtime libraries.
There are three methods to install libconduit-ocaml
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 libconduit-ocaml Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libconduit-ocaml
using apt-get
by running the following command:
sudo apt-get -y install libconduit-ocaml
Install libconduit-ocaml Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libconduit-ocaml
using apt
by running the following command:
sudo apt -y install libconduit-ocaml
Install libconduit-ocaml 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 libconduit-ocaml
using aptitude
by running the following command:
sudo aptitude -y install libconduit-ocaml
How To Uninstall libconduit-ocaml on Debian 12
To uninstall only the libconduit-ocaml
package we can use the following command:
sudo apt-get remove libconduit-ocaml
Uninstall libconduit-ocaml And Its Dependencies
To uninstall libconduit-ocaml
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libconduit-ocaml
Remove libconduit-ocaml Configurations and Data
To remove libconduit-ocaml
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libconduit-ocaml
Remove libconduit-ocaml configuration, data, and all of its dependencies
We can use the following command to remove libconduit-ocaml
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libconduit-ocaml
Dependencies
libconduit-ocaml have the following dependencies:
- libangstrom-ocaml-ziad1
- libastring-ocaml-vegc2
- libdomain-name-ocaml-qt4u0
- libipaddr-ocaml-jwdb5
- libparsexp-ocaml-ms8t6
- libsexplib-ocaml-ubvs7
- libsexplib0-ocaml-dj6s4
- liburi-ocaml-fraz4
- ocaml-base-4.13.1
References
Summary
In this tutorial we learn how to install libconduit-ocaml
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.