How To Install racoon2 on Fedora 34
Introduction
In this tutorial we learn how to install racoon2
on Fedora 34.
What is racoon2
The Racoon2 project is a joint effort which provides an implementation of key management system for IPsec. The implementation is called Racoon2, a successor of Racoon, which was developed by the KAME project. It supports IKEv1, IKEv2, and KINK protocols. It works on FreeBSD, NetBSD, Linux, and Mac OS X.
We can use yum
or dnf
to install racoon2
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install racoon2.
Install racoon2 on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install racoon2
using dnf
by running the following command:
sudo dnf -y install racoon2
Install racoon2 on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install racoon2
using yum
by running the following command:
sudo yum -y install racoon2
How To Uninstall racoon2 on Fedora 34
To uninstall only the racoon2
package we can use the following command:
sudo dnf remove racoon2
racoon2 Package Contents on Fedora 34
/etc/racoon2
/etc/racoon2/cert
/etc/racoon2/default.conf
/etc/racoon2/hook
/etc/racoon2/hook/child-down
/etc/racoon2/hook/child-rekey
/etc/racoon2/hook/child-up
/etc/racoon2/hook/child-up.d/00childup_sample
/etc/racoon2/hook/functions
/etc/racoon2/hook/ikesa-down
/etc/racoon2/hook/ikesa-rekey
/etc/racoon2/hook/ikesa-up
/etc/racoon2/hook/ikesa-up.d/00ikesaup_sample
/etc/racoon2/hook/migration
/etc/racoon2/hook/ph1-down
/etc/racoon2/hook/ph1-up
/etc/racoon2/local-test.conf
/etc/racoon2/psk
/etc/racoon2/racoon2.conf
/etc/racoon2/transport_ike.conf
/etc/racoon2/transport_kink.conf
/etc/racoon2/tunnel_ike.conf
/etc/racoon2/tunnel_ike_natt.conf
/etc/racoon2/tunnel_kink.conf
/etc/racoon2/vals.conf
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/539b4dcd803ce868a645f0a622790b580b7641
/usr/lib/.build-id/54
/usr/lib/.build-id/54/eee41296803ca76484eedb3a076542cde6fea8
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/3da9f3bc40217b49eec9db0a9681a91bada921
/usr/lib/systemd/system/racoon2.service
/usr/sbin/racoon2
/usr/sbin/racoon2-iked
/usr/sbin/racoon2-pskgen
/usr/sbin/racoon2-spmd
/usr/sbin/racoon2-spmdctl
/usr/share/man/man8/racoon2-iked.8.gz
/usr/share/man/man8/racoon2-pskgen.8.gz
/usr/share/man/man8/racoon2-spmd.8.gz
/usr/share/man/man8/racoon2-spmdctl.8.gz
/var/run/racoon2
References
Summary
In this tutorial we learn how to install racoon2
on Fedora 34 using yum and dnf.