How to Install and Uninstall libreswan Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 21,2024

1. Install "libreswan" package

Please follow the guidelines below to install libreswan on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libreswan

2. Uninstall "libreswan" package

Please follow the step by step instructions below to uninstall libreswan on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libreswan $ sudo apt autoclean && sudo apt autoremove

3. Information about the libreswan package on Ubuntu 21.04 (Hirsute Hippo)

Package: libreswan
Architecture: amd64
Version: 3.32-3ubuntu2
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Daniel Kahn Gillmor
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4821
Provides: ike-server
Pre-Depends: debconf | debconf-2.0
Depends: bsdmainutils, dns-root-data, host, iproute2 | iproute (>= 20071016), iptables, libnss3-tools, libaudit1 (>= 1:2.2.1), libc6 (>= 2.27), libcap-ng0 (>= 0.7.9), libcrypt1 (>= 1:4.1.0), libcurl3-nss (>= 7.23.1), libevent-2.1-7 (>= 2.1.8-stable), libevent-pthreads-2.1-7 (>= 2.1.8-stable), libldap-2.4-2 (>= 2.4.7), libldns3 (>= 1.7.1), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.30), libpam0g (>= 0.99.7.1), libselinux1 (>= 3.1~), libsystemd0, libunbound8 (>= 1.8.0)
Recommends: python3
Conflicts: ike-server, strongswan-libcharon, strongswan-starter
Replaces: ike-server
Filename: pool/universe/libr/libreswan/libreswan_3.32-3ubuntu2_amd64.deb
Size: 1037820
MD5sum: 1377f1f5b095e89b961df3daba1849dc
SHA1: f12af44c276b82869e7bfb2dc2ea72aac2120093
SHA256: a9106bfdcf8651d9a56e88aba0fa8773a3ee003cdb7136c1794b51f3cfed2127
SHA512: a4b6d2b78f131c2af2fd446b52390ceed6ab65a688b3e10cd9fb33a21a352fb9107dfdf66db745a46ccf301fbef51d5c61d1c0614a04e0715301335d86fe0a96
Homepage: https://libreswan.org/
Description-en: Internet Key Exchange daemon
Libreswan is an IPsec implementation for Linux. It has support for most
of the extensions (RFC + IETF drafts) related to IPsec, including
IKEv2, X.509 Digital Certificates, NAT Traversal, and many others.
.
Libreswan has been forked from Openswan 2.6.38, which was forked from
FreeS/WAN 1.99.
.
The Libreswan IKE daemon is named pluto. It was inherited from the FreeS/WAN
project, but provides improved X.509 certificate support and other features.
Description-md5: 85f11a75b91fd863b98f3e219668ec8a