How to Install and Uninstall libreswan.x86_64 Package on Amazon Linux 2

Last updated: May 03,2024

1. Install "libreswan.x86_64" package

Learn how to install libreswan.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install libreswan.x86_64

2. Uninstall "libreswan.x86_64" package

This tutorial shows how to uninstall libreswan.x86_64 on Amazon Linux 2:

$ sudo yum remove libreswan.x86_64 $ sudo yum autoremove

3. Information about the libreswan.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : libreswan
Arch : x86_64
Version : 3.25
Release : 4.8.amzn2.0.1
Size : 1.4 M
Repo : amzn2-core/2/x86_64
Summary : IPsec implementation with IKEv1 and IKEv2 keying protocols
URL : https://libreswan.org/
License : GPLv2
Description : Libreswan is a free implementation of IPsec & IKE for Linux.
: IPsec is the Internet Protocol Security and uses strong
: cryptography to provide both authentication and encryption
: services. These services allow you to build secure tunnels
: through untrusted networks. Everything passing through the
: untrusted net is encrypted by the ipsec gateway machine and
: decrypted by the gateway at the other end of the tunnel. The
: resulting tunnel is a virtual private network or VPN.
:
: This package contains the daemons and userland tools for setting
: up Libreswan. It supports the NETKEY/XFRM IPsec kernel stack that
: exists in the default Linux kernel.
:
: Libreswan also supports IKEv2 (RFC-7296) and Secure Labeling
:
: Libreswan is based on Openswan-2.6.38 which in turn is based on
: FreeS/WAN-2.04