How To Install sheepdog on Fedora 34

sheepdog is The Sheepdog distributed storage system for KVM/QEMU

Introduction

In this tutorial we learn how to install sheepdog on Fedora 34.

What is sheepdog

This package contains the Sheepdog server and the “dog” command line tool, which offer a distributed object storage system for KVM.

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

Install sheepdog 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 sheepdog using dnf by running the following command:

sudo dnf -y install sheepdog

Install sheepdog 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 sheepdog using yum by running the following command:

sudo yum -y install sheepdog

How To Uninstall sheepdog on Fedora 34

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

sudo dnf remove sheepdog

sheepdog Package Contents on Fedora 34

/etc/bash_completion.d/dog
/etc/sysconfig/sheepdog
/usr/bin/dog
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/ee98415f29a6b8d87f786c0c5f097f052e4e03
/usr/lib/.build-id/32
/usr/lib/.build-id/32/ad3c5e4f218250899927a35a64492034755d4a
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/f9815a7f16f16203c9de542d5161a2d3b99c68
/usr/lib/.build-id/98
/usr/lib/.build-id/98/04ee84e269ea2ad14776d3acc2b5cd6670fbe9
/usr/lib/systemd/system/sheepdog.service
/usr/lib/systemd/system/sheepdog.timer
/usr/sbin/sheep
/usr/sbin/sheepfs
/usr/sbin/shepherd
/usr/share/doc/sheepdog
/usr/share/doc/sheepdog/COPYING
/usr/share/doc/sheepdog/README
/usr/share/man/man8/dog.8.gz
/usr/share/man/man8/sheep.8.gz
/usr/share/man/man8/sheepfs.8.gz
/var/lib/sheepdog

References

Summary

In this tutorial we learn how to install sheepdog on Fedora 34 using yum and dnf.