How To Install libsctp-dev on Debian 9
Introduction
In this tutorial we learn how to install libsctp-dev
on Debian 9.
What is libsctp-dev
libsctp-dev is:
SCTP (Stream Control Transmission Protocol) is a message oriented, reliable transport protocol, with congestion control, support for transparent multi-homing, and multiple ordered streams of messages. RFC 2960 defines the core protocol.
This package is part of the LKSCTP project, providing all necessary files for developing SCTP aware network applications using the Linux kernel SCTP implementation: man pages, header files, static libraries, symlinks to dynamic libraries, and tutorial source code.
There are three methods to install libsctp-dev
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libsctp-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 libsctp-dev
using apt-get
by running the following command:
sudo apt-get -y install libsctp-dev
Install libsctp-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libsctp-dev
using apt
by running the following command:
sudo apt -y install libsctp-dev
Install libsctp-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 libsctp-dev
using aptitude
by running the following command:
sudo aptitude -y install libsctp-dev
How To Uninstall libsctp-dev on Debian 9
To uninstall only the libsctp-dev
package we can use the following command:
sudo apt-get remove libsctp-dev
Uninstall libsctp-dev And Its Dependencies
To uninstall libsctp-dev
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libsctp-dev
Remove libsctp-dev Configurations and Data
To remove libsctp-dev
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libsctp-dev
Remove libsctp-dev configuration, data, and all of its dependencies
We can use the following command to remove libsctp-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsctp-dev
Dependencies
libsctp-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libsctp-dev
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.