How to Install and Uninstall libreswan Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 18,2024

1. Install "libreswan" package

Please follow the guidance below to install libreswan on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install libreswan

2. Uninstall "libreswan" package

Please follow the guidelines below to uninstall libreswan on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the libreswan package on Ubuntu 24.04 LTS (Noble Numbat)

Package: libreswan
Architecture: amd64
Version: 4.12-1ubuntu1
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Daniel Kahn Gillmor
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6179
Provides: ike-server
Pre-Depends: debconf | debconf-2.0
Depends: dns-root-data, host, iproute2 | iproute (>= 20071016), iptables, libnss3-tools, libaudit1 (>= 1:2.2.1), libc6 (>= 2.34), libcap-ng0 (>= 0.7.9), libcrypt1 (>= 1:4.1.0), libcurl3-gnutls (>= 7.16.2), libevent-core-2.1-7 (>= 2.1.8-stable), libevent-pthreads-2.1-7 (>= 2.1.8-stable), libldap2 (>= 2.6.2), libldns3 (>= 1.7.1), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.38), 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_4.12-1ubuntu1_amd64.deb
Size: 1333144
MD5sum: 0439640d0daa215de43190c65b23394e
SHA1: 949504ecbfe08b24907f84daf318012ec18972c8
SHA256: 090e731ea1b92885cc1447b579d4219738ea73bc59ae7e70d7c13ea3bca45343
SHA512: 527c27deb7cb05d9e98cec2b314f9f93176326bce950e662371f99fbf2b7452a1154c2798027831ccaf67a7956abe6cd7e3e1bddd047a1a189948020d9f4a986
Homepage: https://libreswan.org/
Description: Internet Key Exchange daemon
Description-md5: 85f11a75b91fd863b98f3e219668ec8a