How To Install libstrongswan-standard-plugins on Ubuntu 20.04

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

Introduction

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

What is libstrongswan-standard-plugins

libstrongswan-standard-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 some common plugins for the strongSwan utility and cryptograhic library.

Included plugins are:

  • agent (RSA/ECDSA private key backend connecting to SSH-Agent)
  • gcm (GCM cipher mode wrapper)
  • openssl (Crypto backend based on OpenSSL, provides RSA/ECDSA/DH/ECDH/ciphers/hashers/HMAC/X.509/CRL/RNG)

Package: libstrongswan-standard-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: 421 Depends: libstrongswan (= 5.8.2-1ubuntu3), libc6 (>= 2.25), libip4tc2 (>= 1.8.3), libssl1.1 (>= 1.1.1) Filename: pool/main/s/strongswan/libstrongswan-standard-plugins_5.8.2-1ubuntu3_amd64.deb Size: 67340 MD5sum: 5b3d93322feb368f8f20eda55ea69792 SHA1: f0b8fd8af70170f03ea5712bffe1e2cbef55dd95 SHA256: 4202891eb72617927a83f3501277b4f665fab30f28017f27b638f29cefefe1dc Homepage: http://www.strongswan.org Description-en: strongSwan utility and crypto library (standard 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 some common plugins for the strongSwan utility and cryptograhic library.

Included plugins are:

  • agent (RSA/ECDSA private key backend connecting to SSH-Agent)
  • gcm (GCM cipher mode wrapper)
  • openssl (Crypto backend based on OpenSSL, provides RSA/ECDSA/DH/ECDH/ciphers/hashers/HMAC/X.509/CRL/RNG)

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

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

Install libstrongswan-standard-plugins Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libstrongswan-standard-plugins

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

sudo aptitude -y install libstrongswan-standard-plugins

How To Uninstall libstrongswan-standard-plugins on Ubuntu 20.04

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

sudo apt-get remove libstrongswan-standard-plugins

Uninstall libstrongswan-standard-plugins And Its Dependencies

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

Remove libstrongswan-standard-plugins Configurations and Data

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

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

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

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

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

References

Summary

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