How To Install libstrongswan-extra-plugins on Ubuntu 20.04

In this tutorial we learn how to install libstrongswan-extra-plugins on Ubuntu 20.04. libstrongswan-extra-plugins is strongSwan utility and crypto library (extra plugins) strongSwan utility and crypto library (extra plugins)

Introduction

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

What is libstrongswan-extra-plugins

libstrongswan-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 strongSwan utility and cryptographic library.

Included plugins are:

  • af-alg [linux] (AF_ALG Linux crypto API interface, provides ciphers/hashers/hmac/xcbc)
  • ccm (CCM cipher mode wrapper)
  • cmac (CMAC cipher mode wrapper)
  • ctr (CTR cipher mode wrapper)
  • curl (libcurl based HTTP/FTP fetcher)
  • curve25519 (support for Diffie-Hellman group 31 using Curve25519 and support for the Ed25519 digital signature algorithm for IKEv2)
  • gcrypt (Crypto backend based on libgcrypt, provides RSA/DH/ciphers/hashers/rng)
  • ldap (LDAP fetching plugin based on libldap)
  • ntru (key exchanged based on post-quantum computer NTRU)
  • padlock (VIA padlock crypto backend, provides AES128/SHA1)
  • pkcs11 (PKCS#11 smartcard backend)
  • rdrand (High quality / high performance random source using the Intel rdrand instruction found on Ivy Bridge processors)
  • test-vectors (Set of test vectors for various algorithms)

Also included is the libtpmtss library adding support for TPM plugin (https://wiki.strongswan.org/projects/strongswan/wiki/TpmPlugin)

Package: libstrongswan-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: 804 Depends: libstrongswan (= 5.8.2-1ubuntu3), libc6 (>= 2.25), libcurl4 (>= 7.16.2), libgcrypt20 (>= 1.8.0), libgpg-error0 (>= 1.14), libldap-2.4-2 (>= 2.4.7) Breaks: libcharon-extra-plugins (<= 5.5.3-1) Replaces: libcharon-extra-plugins (<= 5.5.3-1) Filename: pool/universe/s/strongswan/libstrongswan-extra-plugins_5.8.2-1ubuntu3_amd64.deb Size: 200012 MD5sum: 4a08ee4290dc369732d5ac86ff006065 SHA1: 0a833863feeda7cb4f78781cbde0d376dd91cdcb SHA256: 947f4103883e475a566a42b02d4a45d269e041a23d9d597b29c163ec72b3bebd Homepage: http://www.strongswan.org Description-en: strongSwan utility and crypto 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 strongSwan utility and cryptographic library.

Included plugins are:

  • af-alg [linux] (AF_ALG Linux crypto API interface, provides ciphers/hashers/hmac/xcbc)
  • ccm (CCM cipher mode wrapper)
  • cmac (CMAC cipher mode wrapper)
  • ctr (CTR cipher mode wrapper)
  • curl (libcurl based HTTP/FTP fetcher)
  • curve25519 (support for Diffie-Hellman group 31 using Curve25519 and support for the Ed25519 digital signature algorithm for IKEv2)
  • gcrypt (Crypto backend based on libgcrypt, provides RSA/DH/ciphers/hashers/rng)
  • ldap (LDAP fetching plugin based on libldap)
  • ntru (key exchanged based on post-quantum computer NTRU)
  • padlock (VIA padlock crypto backend, provides AES128/SHA1)
  • pkcs11 (PKCS#11 smartcard backend)
  • rdrand (High quality / high performance random source using the Intel rdrand instruction found on Ivy Bridge processors)
  • test-vectors (Set of test vectors for various algorithms)

Also included is the libtpmtss library adding support for TPM plugin (https://wiki.strongswan.org/projects/strongswan/wiki/TpmPlugin)

There are three methods to install libstrongswan-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 libstrongswan-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 libstrongswan-extra-plugins using apt-get by running the following command:

sudo apt-get -y install libstrongswan-extra-plugins

Install libstrongswan-extra-plugins Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libstrongswan-extra-plugins using apt by running the following command:

sudo apt -y install libstrongswan-extra-plugins

Install libstrongswan-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 libstrongswan-extra-plugins using aptitude by running the following command:

sudo aptitude -y install libstrongswan-extra-plugins

How To Uninstall libstrongswan-extra-plugins on Ubuntu 20.04

To uninstall only the libstrongswan-extra-plugins package we can use the following command:

sudo apt-get remove libstrongswan-extra-plugins

Uninstall libstrongswan-extra-plugins And Its Dependencies

To uninstall libstrongswan-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 libstrongswan-extra-plugins

Remove libstrongswan-extra-plugins Configurations and Data

To remove libstrongswan-extra-plugins configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libstrongswan-extra-plugins

Remove libstrongswan-extra-plugins configuration, data, and all of its dependencies

We can use the following command to remove libstrongswan-extra-plugins configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libstrongswan-extra-plugins

References

Summary

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