How To Install ucarp on Fedora 36
Introduction
In this tutorial we learn how to install ucarp
on Fedora 36.
What is ucarp
UCARP allows a couple of hosts to share common virtual IP addresses in order to provide automatic failover. It is a portable userland implementation of the secure and patent-free Common Address Redundancy Protocol (CARP, OpenBSD’s alternative to the patents-bloated VRRP). Strong points of the CARP protocol are signed messages, interoperability between different operating systems and no need for any dedicated extra network link between redundant hosts.
We can use yum
or dnf
to install ucarp
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ucarp.
Install ucarp 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 ucarp
using dnf
by running the following command:
sudo dnf -y install ucarp
Install ucarp 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 ucarp
using yum
by running the following command:
sudo yum -y install ucarp
How To Uninstall ucarp on Fedora 36
To uninstall only the ucarp
package we can use the following command:
sudo dnf remove ucarp
ucarp Package Contents on Fedora 36
/etc/ucarp
/etc/ucarp/vip-001.conf.example
/etc/ucarp/vip-001.pwd.example
/etc/ucarp/vip-common.conf
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/0ca5b7d3aa35fd13f3996833895443c7e036a5
/usr/lib/systemd/system/[email protected]
/usr/libexec/ucarp
/usr/libexec/ucarp/ucarp
/usr/libexec/ucarp/vip-down
/usr/libexec/ucarp/vip-up
/usr/sbin/ucarp
/usr/share/doc/ucarp
/usr/share/doc/ucarp/AUTHORS
/usr/share/doc/ucarp/ChangeLog
/usr/share/doc/ucarp/NEWS
/usr/share/doc/ucarp/README
/usr/share/licenses/ucarp
/usr/share/licenses/ucarp/COPYING
/usr/share/locale/en@boldquot/LC_MESSAGES/ucarp.mo
/usr/share/locale/en@quot/LC_MESSAGES/ucarp.mo
References
Summary
In this tutorial we learn how to install ucarp
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).