How To Install libcharon-extra-plugins on Debian 10
Introduction
In this tutorial we learn how to install libcharon-extra-plugins
on Debian 10.
What is libcharon-extra-plugins
libcharon-extra-plugins is:
The strongSwan VPN suite uses the native IPsec stack in the standard Linux kernel. It supports both the IKEv1 and IKEv2 protocols.
This package provides extra plugins for the charon library:
- addrblock (Narrow traffic selectors to RFC 3779 address blocks in X.509 certificates)
- certexpire (Export expiration dates of used certificates)
- eap-aka (Generic EAP-AKA protocol handler using different backends)
- eap-gtc (EAP-GTC protocol handler authenticating with XAuth backends)
- eap-identity (EAP-Identity identity exchange algorithm, to use with other EAP protocols)
- eap-md5 (EAP-MD5 protocol handler using passwords)
- eap-mschapv2 (EAP-MSCHAPv2 protocol handler using passwords/NT hashes)
- eap-radius (EAP server proxy plugin forwarding EAP conversations to a RADIUS server)
- eap-tls (EAP-TLS protocol handler, to authenticate with certificates in EAP)
- eap-tnc (EAP-TNC protocol handler, Trusted Network Connect in a TLS tunnel)
- eap-ttls (EAP-TTLS protocol handler, wraps other EAP methods securely)
- error-notify (Notification about errors via UNIX socket)
- ha (High-Availability clustering)
- led (Let Linux LED subsystem LEDs blink on IKE activity)
- lookip (Virtual IP lookup facility using a UNIX socket)
- medcli (Web interface based mediation client interface)
- medsrv (Web interface based mediation server interface)
- tnc (Trusted Network Connect)
- unity (Cisco Unity extensions for IKEv1)
- xauth-eap (XAuth backend that uses EAP methods to verify passwords)
- xauth-generic (Generic XAuth backend that provides passwords from ipsec.secrets and other credential sets)
- xauth-pam (XAuth backend that uses PAM modules to verify passwords)
There are three methods to install libcharon-extra-plugins
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libcharon-extra-plugins Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libcharon-extra-plugins
using apt-get
by running the following command:
sudo apt-get -y install libcharon-extra-plugins
Install libcharon-extra-plugins Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcharon-extra-plugins
using apt
by running the following command:
sudo apt -y install libcharon-extra-plugins
Install libcharon-extra-plugins 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 libcharon-extra-plugins
using aptitude
by running the following command:
sudo aptitude -y install libcharon-extra-plugins
How To Uninstall libcharon-extra-plugins on Debian 10
To uninstall only the libcharon-extra-plugins
package we can use the following command:
sudo apt-get remove libcharon-extra-plugins
Uninstall libcharon-extra-plugins And Its Dependencies
To uninstall libcharon-extra-plugins
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libcharon-extra-plugins
Remove libcharon-extra-plugins Configurations and Data
To remove libcharon-extra-plugins
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libcharon-extra-plugins
Remove libcharon-extra-plugins configuration, data, and all of its dependencies
We can use the following command to remove libcharon-extra-plugins
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcharon-extra-plugins
Dependencies
libcharon-extra-plugins have the following dependencies:
References
Summary
In this tutorial we learn how to install libcharon-extra-plugins
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.