How To Install ucarp on Fedora 34
Introduction
In this tutorial we learn how to install ucarp
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install ucarp.
Install ucarp 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 ucarp
using dnf
by running the following command:
sudo dnf -y install ucarp
Install ucarp 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 ucarp
using yum
by running the following command:
sudo yum -y install ucarp
How To Uninstall ucarp on Fedora 34
To uninstall only the ucarp
package we can use the following command:
sudo dnf remove ucarp
ucarp Package Contents on Fedora 34
/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/fd
/usr/lib/.build-id/fd/1cb8c805028f94b2bceb1731f2601fa3726c35
/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 34 using yum and dnf.