How To Install libcharon-extra-plugins on Ubuntu 20.04

In this tutorial we learn how to install libcharon-extra-plugins on Ubuntu 20.04. libcharon-extra-plugins is strongSwan charon library (extra plugins) strongSwan charon library (extra plugins)

Introduction

In this tutorial we learn how to install libcharon-extra-plugins on Ubuntu 20.04.

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-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)
  • kernel-libipsec (Userspace IPsec Backend with TUN devices)
  • led (Let Linux LED subsystem LEDs blink on IKE activity)
  • lookip (Virtual IP lookup facility using a UNIX socket)
  • tnc (Trusted Network Connect)
  • unity (Cisco Unity extensions for IKEv1)
  • xauth-eap (XAuth backend that uses EAP methods to verify passwords)
  • xauth-pam (XAuth backend that uses PAM modules to verify passwords)
  • eap-dynamic (EAP proxy plugin that dynamically selects an EAP method requested/supported by the client (since 5.0.1))
  • eap-peap (EAP-PEAP protocol handler, wraps other EAP methods securely)

Package: libcharon-extra-plugins Architecture: amd64 Version: 5.8.2-1ubuntu3 Priority: optional Section: universe/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: 1014 Provides: strongswan-tnc-base Depends: libstrongswan (= 5.8.2-1ubuntu3), libc6 (>= 2.29), libpam0g (>= 0.99.7.1) Breaks: strongswan-tnc-base (« 5.7.2-1ubuntu1), strongswan-tnc-client (« 5.7.2-1ubuntu1), strongswan-tnc-ifmap (« 5.7.2-1ubuntu1), strongswan-tnc-pdp (« 5.7.2-1ubuntu1), strongswan-tnc-server (« 5.7.2-1ubuntu1) Replaces: strongswan-tnc-base (« 5.7.2-1ubuntu1), strongswan-tnc-client (« 5.7.2-1ubuntu1), strongswan-tnc-ifmap (« 5.7.2-1ubuntu1), strongswan-tnc-pdp (« 5.7.2-1ubuntu1), strongswan-tnc-server (« 5.7.2-1ubuntu1) Filename: pool/universe/s/strongswan/libcharon-extra-plugins_5.8.2-1ubuntu3_amd64.deb Size: 185048 MD5sum: 2718de7d6d39a0d17acab43e6a24e1ef SHA1: 6df5f9dfe302bb96842377e60eeecedc31285a78 SHA256: 297ace2c5011d074e2e2a1f78e580334447720c10b0134ea2bb22397133c2f8c Homepage: http://www.strongswan.org Description-en: strongSwan charon library (extra 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 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-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)
  • kernel-libipsec (Userspace IPsec Backend with TUN devices)
  • led (Let Linux LED subsystem LEDs blink on IKE activity)
  • lookip (Virtual IP lookup facility using a UNIX socket)
  • tnc (Trusted Network Connect)
  • unity (Cisco Unity extensions for IKEv1)
  • xauth-eap (XAuth backend that uses EAP methods to verify passwords)
  • xauth-pam (XAuth backend that uses PAM modules to verify passwords)

There are three methods to install libcharon-extra-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-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 Ubuntu. 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 Ubuntu 20.04

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 Ubuntu 20.04, 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 Ubuntu 20.04 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

References

Summary

In this tutorial we learn how to install libcharon-extra-plugins package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.