How To Install openiked on Fedora 36

In this tutorial we learn how to install openiked in Fedora 36. openiked is A free Internet Key Exchange (IKEv2) implementation

Introduction

In this tutorial we learn how to install openiked on Fedora 36.

What is openiked

OpenIKED is a free, permissively licensed Internet Key Exchange (IKEv2) implementation, developed as part of the OpenBSD project. It is intended to be a lean, secure and inter-operable daemon that allows for easy setup and management of IPsec VPNs.

We can use yum or dnf to install openiked on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install openiked.

Install openiked on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install openiked using dnf by running the following command:

sudo dnf -y install openiked

Install openiked on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install openiked using yum by running the following command:

sudo yum -y install openiked

How To Uninstall openiked on Fedora 36

To uninstall only the openiked package we can use the following command:

sudo dnf remove openiked

openiked Package Contents on Fedora 36

/etc/iked
/etc/iked.conf
/etc/iked/ca
/etc/iked/certs
/etc/iked/crls
/etc/iked/private
/etc/iked/pubkeys
/etc/iked/pubkeys/fqdn
/etc/iked/pubkeys/ipv4
/etc/iked/pubkeys/ipv6
/etc/iked/pubkeys/ufqdn
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/fe048dd971259bf2c7452552a4fd2c90360a34
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/c785273b284371210c2a6abb438eec67e66384
/usr/lib/systemd/system/openiked-keygen.service
/usr/lib/systemd/system/openiked-keygen.target
/usr/lib/systemd/system/openiked.service
/usr/lib/sysusers.d/openiked.conf
/usr/libexec/openiked
/usr/libexec/openiked/openiked-keygen
/usr/sbin/ikectl
/usr/sbin/iked
/usr/share/licenses/openiked
/usr/share/licenses/openiked/LICENSE
/usr/share/man/man5/iked.conf.5.gz
/usr/share/man/man8/ikectl.8.gz
/usr/share/man/man8/iked.8.gz

References

Summary

In this tutorial we learn how to install openiked on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).