How To Install libmptcpwrap0 on Debian 12
Introduction
In this tutorial we learn how to install libmptcpwrap0
on Debian 12.
What is libmptcpwrap0
libmptcpwrap0 is:
The Multipath TCP Converter Library - libmptcpwrap - helps to enable MPTCP usage on unmodified legacy services. This library can be used with LD_PRELOAD to force MPTCP socket usage instead of TCP.
To use MPTCP on a Linux kernel, it is required to explicitly create an MPTCP socket. In theory, it is then needed to modify an existing program to benefit from MPTCP. In practice, ‘socket()’ syscall can be modified to create an MPTCP socket instead of TCP. This is done with the help of this lib and LD_PRELOAD.
There are three methods to install libmptcpwrap0
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 libmptcpwrap0 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libmptcpwrap0
using apt-get
by running the following command:
sudo apt-get -y install libmptcpwrap0
Install libmptcpwrap0 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmptcpwrap0
using apt
by running the following command:
sudo apt -y install libmptcpwrap0
Install libmptcpwrap0 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 libmptcpwrap0
using aptitude
by running the following command:
sudo aptitude -y install libmptcpwrap0
How To Uninstall libmptcpwrap0 on Debian 12
To uninstall only the libmptcpwrap0
package we can use the following command:
sudo apt-get remove libmptcpwrap0
Uninstall libmptcpwrap0 And Its Dependencies
To uninstall libmptcpwrap0
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libmptcpwrap0
Remove libmptcpwrap0 Configurations and Data
To remove libmptcpwrap0
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libmptcpwrap0
Remove libmptcpwrap0 configuration, data, and all of its dependencies
We can use the following command to remove libmptcpwrap0
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmptcpwrap0
Dependencies
libmptcpwrap0 have the following dependencies:
References
Summary
In this tutorial we learn how to install libmptcpwrap0
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.