How To Install libcharon-extauth-plugins on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libcharon-extauth-plugins
on Ubuntu 20.04.
What is libcharon-extauth-plugins
libcharon-extauth-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 extended authentication plugins for the charon library:
- eap-mschapv2 (EAP-MSCHAPv2 protocol handler using passwords/NT hashes) Used for client side to connect to some VPN concentrators configured for Windows 7+ and modern OSX/iOS using IKEv2 (identify with public key, authenticate with MSCHAPv2).
- xauth-generic (Generic XAuth backend that provides passwords from ipsec.secrets and other credential sets) Used for the client side to connect to VPN concentrators configured for Android and older OSX/iOS using IKEv1 and XAUTH (identify with public key, authenticate with XAUTH password).
These are the “not always, but still more commonly used” plugins, for further needs even more plugins can be found in the package libcharon-extra-plugins.
Package: libcharon-extauth-plugins Architecture: amd64 Version: 5.8.2-1ubuntu3 Priority: optional Section: net Source: strongswan Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: strongSwan Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 229 Depends: libstrongswan (= 5.8.2-1ubuntu3), libc6 (>= 2.25) Breaks: libcharon-extra-plugins (« 5.8.0-2~), libcharon-standard-plugins (« 5.8.1-1ubuntu1~) Replaces: libcharon-extra-plugins (« 5.8.0-2~), libcharon-standard-plugins (« 5.8.1-1ubuntu1~) Filename: pool/main/s/strongswan/libcharon-extauth-plugins_5.8.2-1ubuntu3_amd64.deb Size: 23032 MD5sum: 9ad34dd4ba50a8088e2707e666164a67 SHA1: 9e21eae600e3ec05af9762805a63f4f64e7bc1c4 SHA256: 49b3db1ee0ffb6b95bc7dfcaef35e28b4c8d1eb773ec9bebe399f21955f041ad Homepage: http://www.strongswan.org Description-en: strongSwan charon library (extended authentication plugins) 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 extended authentication plugins for the charon library:
- eap-mschapv2 (EAP-MSCHAPv2 protocol handler using passwords/NT hashes) Used for client side to connect to some VPN concentrators configured for Windows 7+ and modern OSX/iOS using IKEv2 (identify with public key, authenticate with MSCHAPv2).
- xauth-generic (Generic XAuth backend that provides passwords from ipsec.secrets and other credential sets) Used for the client side to connect to VPN concentrators configured for Android and older OSX/iOS using IKEv1 and XAUTH (identify with public key, authenticate with XAUTH password).
These are the “not always, but still more commonly used” plugins, for further needs even more plugins can be found in the package libcharon-extra-plugins.
There are three methods to install libcharon-extauth-plugins
on Ubuntu 20.04. 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-extauth-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-extauth-plugins
using apt-get
by running the following command:
sudo apt-get -y install libcharon-extauth-plugins
Install libcharon-extauth-plugins Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcharon-extauth-plugins
using apt
by running the following command:
sudo apt -y install libcharon-extauth-plugins
Install libcharon-extauth-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libcharon-extauth-plugins
using aptitude
by running the following command:
sudo aptitude -y install libcharon-extauth-plugins
How To Uninstall libcharon-extauth-plugins on Ubuntu 20.04
To uninstall only the libcharon-extauth-plugins
package we can use the following command:
sudo apt-get remove libcharon-extauth-plugins
Uninstall libcharon-extauth-plugins And Its Dependencies
To uninstall libcharon-extauth-plugins
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libcharon-extauth-plugins
Remove libcharon-extauth-plugins Configurations and Data
To remove libcharon-extauth-plugins
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libcharon-extauth-plugins
Remove libcharon-extauth-plugins configuration, data, and all of its dependencies
We can use the following command to remove libcharon-extauth-plugins
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcharon-extauth-plugins
References
Summary
In this tutorial we learn how to install libcharon-extauth-plugins
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.