How To Install libstrongswan-extra-plugins on Kali Linux
Introduction
In this tutorial we learn how to install libstrongswan-extra-plugins on Kali Linux.
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)
- 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 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-extra-plugins Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libstrongswan-extra-plugins using apt-get by running the following command:
sudo apt-get -y install libstrongswan-extra-pluginsInstall libstrongswan-extra-plugins Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libstrongswan-extra-plugins using apt by running the following command:
sudo apt -y install libstrongswan-extra-pluginsInstall libstrongswan-extra-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 updateAfter updating apt database, We can install libstrongswan-extra-plugins using aptitude by running the following command:
sudo aptitude -y install libstrongswan-extra-pluginsHow To Uninstall libstrongswan-extra-plugins on Kali Linux
To uninstall only the libstrongswan-extra-plugins package we can use the following command:
sudo apt-get remove libstrongswan-extra-pluginsUninstall libstrongswan-extra-plugins And Its Dependencies
To uninstall libstrongswan-extra-plugins and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libstrongswan-extra-pluginsRemove libstrongswan-extra-plugins Configurations and Data
To remove libstrongswan-extra-plugins configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libstrongswan-extra-pluginsRemove 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-pluginsDependencies
libstrongswan-extra-plugins have the following dependencies:
References
Summary
In this tutorial we learn how to install libstrongswan-extra-plugins package on Kali Linux using different package management tools: apt, apt-get and aptitude.