How To Install libstrongswan-standard-plugins on Kali Linux

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

Introduction

In this tutorial we learn how to install libstrongswan-standard-plugins on Kali Linux.

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)

There are three methods to install libstrongswan-standard-plugins on Kali Linux. 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 on Kali Linux first since aptitude is usually not installed by default on Kali Linux. 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 Kali Linux

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 Kali Linux, 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 Kali Linux 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

Dependencies

libstrongswan-standard-plugins have the following dependencies:

References

Summary

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