How To Install libstrongswan-extra-plugins on Debian 9
Introduction
In this tutorial we learn how to install libstrongswan-extra-plugins
on Debian 9.
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 cryptograhic 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)
- 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)
There are three methods to install libstrongswan-extra-plugins
on Debian 9. 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 Debian. 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 Debian 9
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 Debian 9, 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 Debian 9 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
Dependencies
libstrongswan-extra-plugins have the following dependencies:
References
Summary
In this tutorial we learn how to install libstrongswan-extra-plugins
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.