How to Install and Uninstall libstrongswan Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 04,2024

1. Install "libstrongswan" package

This is a short guide on how to install libstrongswan on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libstrongswan

2. Uninstall "libstrongswan" package

Please follow the steps below to uninstall libstrongswan on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libstrongswan $ sudo apt autoclean && sudo apt autoremove

3. Information about the libstrongswan package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libstrongswan
Architecture: amd64
Version: 5.3.5-1ubuntu3.8
Priority: optional
Section: net
Source: strongswan
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: strongSwan Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5791
Depends: libc6 (>= 2.22), libcap2 (>= 1:2.10), libgmp10
Recommends: libstrongswan-standard-plugins
Suggests: libstrongswan-extra-plugins
Conflicts: strongswan (<< 4.2.12-1)
Breaks: strongswan-ikev2 (<< 4.6.4), strongswan-plugin-dnskey (<< 5.3.5-1ubuntu1~), strongswan-plugin-fips-prf (<< 5.3.5-1ubuntu1~), strongswan-plugin-gmp (<< 5.3.5-1ubuntu1~), strongswan-plugin-pgp (<< 5.3.5-1ubuntu1~), strongswan-plugin-pubkey (<< 5.3.5-1ubuntu1~), strongswan-plugin-sshkey (<< 5.3.5-1ubuntu1~)
Replaces: strongswan-ikev2 (<< 4.6.4), strongswan-plugin-dnskey (<< 5.3.5-1ubuntu1~), strongswan-plugin-fips-prf (<< 5.3.5-1ubuntu1~), strongswan-plugin-gmp (<< 5.3.5-1ubuntu1~), strongswan-plugin-pgp (<< 5.3.5-1ubuntu1~), strongswan-plugin-pubkey (<< 5.3.5-1ubuntu1~), strongswan-plugin-sshkey (<< 5.3.5-1ubuntu1~)
Filename: pool/main/s/strongswan/libstrongswan_5.3.5-1ubuntu3.8_amd64.deb
Size: 1396346
MD5sum: fa50023be207692bd95b211457df7052
SHA1: 91a419cc57bad2db44603f41eda754e8b7b5178f
SHA256: 6737a9308cb7a372feacfcdf02dcf5a09e1d74c71d6dd0fd5bcbf60072fdfb47
SHA512: 9326eebf374324473625723b633f8f327aa1ea8721e4ddde7a855174024acae116ae941d7514821280c7996438497c93ccfb7121b9f72714b994806d023d3be6
Homepage: http://www.strongswan.org
Description-en: strongSwan utility and crypto library
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 the underlying libraries of charon and other strongSwan
components. It is built in a modular way and is extendable through various
plugins.
.
Some default (as specified by the strongSwan projet) plugins are included.
For libstrongswan (cryptographic backends, URI fetchers and database layers):
- aes (AES-128/192/256 cipher software implementation)
- constraints (X.509 certificate advanced constraint checking)
- dnskey (Parse RFC 4034 public keys)
- fips-prf (PRF specified by FIPS, used by EAP-SIM/AKA algorithms)
- gmp (RSA/DH crypto backend based on libgmp)
- hmac (HMAC wrapper using various hashers)
- md5 (MD5 hasher software implementation)
- nonce (Default nonce generation plugin)
- pem (PEM encoding/decoding routines)
- pgp (PGP encoding/decoding routines)
- pkcs1 (PKCS#1 encoding/decoding routines)
- pkcs8 (PKCS#8 decoding routines)
- pkcs12 (PKCS#12 decoding routines)
- pubkey (Wrapper to handle raw public keys as trusted certificates)
- random (RNG reading from /dev/[u]random)
- rc2 (RC2 cipher software implementation)
- revocation (X.509 CRL/OCSP revocation checking)
- sha1 (SHA1 hasher software implementation)
- sha2 (SHA256/SHA384/SHA512 hasher software implementation)
- sshkey (SSH key decoding routines)
- x509 (Advanced X.509 plugin for parsing/generating X.509 certificates/CRLs
and OCSP messages)
- xcbc (XCBC wrapper using various ciphers)
For libhydra (IKE daemon plugins):
- attr (Provides IKE attributes configured in strongswan.conf)
- kernel-netlink [linux] (IPsec/Networking kernel interface using Linux
Netlink)
- kernel-pfkey [kfreebsd] (IPsec kernel interface using PF_KEY)
- kernel-pfroute [kfreebsd] (Networking kernel interface using PF_ROUTE)
- resolve (Writes name servers received via IKE to a resolv.conf file or
installs them via resolvconf(8))
Description-md5: 9153b3bd0cb9b74d45a306f7daf77976
Supported: 5y

Package: libstrongswan
Priority: optional
Section: net
Installed-Size: 5792
Maintainer: Ubuntu Developers
Original-Maintainer: strongSwan Maintainers
Architecture: amd64
Source: strongswan
Version: 5.3.5-1ubuntu3
Replaces: strongswan-ikev2 (<< 4.6.4), strongswan-plugin-dnskey (<< 5.3.5-1ubuntu1~), strongswan-plugin-fips-prf (<< 5.3.5-1ubuntu1~), strongswan-plugin-gmp (<< 5.3.5-1ubuntu1~), strongswan-plugin-pgp (<< 5.3.5-1ubuntu1~), strongswan-plugin-pubkey (<< 5.3.5-1ubuntu1~), strongswan-plugin-sshkey (<< 5.3.5-1ubuntu1~)
Depends: libc6 (>= 2.22), libcap2 (>= 1:2.10), libgmp10
Recommends: libstrongswan-standard-plugins
Suggests: libstrongswan-extra-plugins
Conflicts: strongswan (<< 4.2.12-1)
Breaks: strongswan-ikev2 (<< 4.6.4), strongswan-plugin-dnskey (<< 5.3.5-1ubuntu1~), strongswan-plugin-fips-prf (<< 5.3.5-1ubuntu1~), strongswan-plugin-gmp (<< 5.3.5-1ubuntu1~), strongswan-plugin-pgp (<< 5.3.5-1ubuntu1~), strongswan-plugin-pubkey (<< 5.3.5-1ubuntu1~), strongswan-plugin-sshkey (<< 5.3.5-1ubuntu1~)
Filename: pool/main/s/strongswan/libstrongswan_5.3.5-1ubuntu3_amd64.deb
Size: 1389936
MD5sum: 35b18e264b9596ab99b4a1be3d04bc13
SHA1: 54efdce75b1c988f9c0f1258d914b5bf86c962b6
SHA256: f68b154b650ced2e6652d4c568f9bafc3a77dc166d503e99467d74dd79e55bbb
Description-en: strongSwan utility and crypto library
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 the underlying libraries of charon and other strongSwan
components. It is built in a modular way and is extendable through various
plugins.
.
Some default (as specified by the strongSwan projet) plugins are included.
For libstrongswan (cryptographic backends, URI fetchers and database layers):
- aes (AES-128/192/256 cipher software implementation)
- constraints (X.509 certificate advanced constraint checking)
- dnskey (Parse RFC 4034 public keys)
- fips-prf (PRF specified by FIPS, used by EAP-SIM/AKA algorithms)
- gmp (RSA/DH crypto backend based on libgmp)
- hmac (HMAC wrapper using various hashers)
- md5 (MD5 hasher software implementation)
- nonce (Default nonce generation plugin)
- pem (PEM encoding/decoding routines)
- pgp (PGP encoding/decoding routines)
- pkcs1 (PKCS#1 encoding/decoding routines)
- pkcs8 (PKCS#8 decoding routines)
- pkcs12 (PKCS#12 decoding routines)
- pubkey (Wrapper to handle raw public keys as trusted certificates)
- random (RNG reading from /dev/[u]random)
- rc2 (RC2 cipher software implementation)
- revocation (X.509 CRL/OCSP revocation checking)
- sha1 (SHA1 hasher software implementation)
- sha2 (SHA256/SHA384/SHA512 hasher software implementation)
- sshkey (SSH key decoding routines)
- x509 (Advanced X.509 plugin for parsing/generating X.509 certificates/CRLs
and OCSP messages)
- xcbc (XCBC wrapper using various ciphers)
For libhydra (IKE daemon plugins):
- attr (Provides IKE attributes configured in strongswan.conf)
- kernel-netlink [linux] (IPsec/Networking kernel interface using Linux
Netlink)
- kernel-pfkey [kfreebsd] (IPsec kernel interface using PF_KEY)
- kernel-pfroute [kfreebsd] (Networking kernel interface using PF_ROUTE)
- resolve (Writes name servers received via IKE to a resolv.conf file or
installs them via resolvconf(8))
Description-md5: 9153b3bd0cb9b74d45a306f7daf77976
Homepage: http://www.strongswan.org
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y