How To Install reprepro on Fedora 34

reprepro is Tool to handle local repositories of Debian packages

Introduction

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

What is reprepro

reprepro is a tool to manage a repository of Debian packages (.deb). It stores files either being injected manually or downloaded from some other repository (partially) mirrored into one pool/ hierarchy. Managed packages and files are stored in a Berkeley DB, so no database server is needed. Checking signatures of mirrored repositories and creating signatures of the generated Package indexes is supported.

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

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

sudo dnf -y install reprepro

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

sudo yum -y install reprepro

How To Uninstall reprepro on Fedora 34

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

sudo dnf remove reprepro

reprepro Package Contents on Fedora 34

/usr/bin/changestool
/usr/bin/reprepro
/usr/bin/rredtool
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/14f6d05d41488bd8266985f85da91c02987cb3
/usr/lib/.build-id/67
/usr/lib/.build-id/67/b45f64a385a0fa96314ef876310b6769e325b5
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/25b0bc03faecee8f4ec84d9e87c5cefe20e490
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/reprepro
/usr/share/doc/reprepro
/usr/share/doc/reprepro/AUTHORS
/usr/share/doc/reprepro/NEWS
/usr/share/doc/reprepro/README
/usr/share/doc/reprepro/docs
/usr/share/doc/reprepro/docs/FAQ
/usr/share/doc/reprepro/docs/bzip.example
/usr/share/doc/reprepro/docs/changelogs.example
/usr/share/doc/reprepro/docs/copybyhand.example
/usr/share/doc/reprepro/docs/di.example
/usr/share/doc/reprepro/docs/di.example/DI-filter.sh
/usr/share/doc/reprepro/docs/di.example/README
/usr/share/doc/reprepro/docs/di.example/distributions
/usr/share/doc/reprepro/docs/di.example/updates
/usr/share/doc/reprepro/docs/manual.html
/usr/share/doc/reprepro/docs/outsftphook.py
/usr/share/doc/reprepro/docs/outstore.py
/usr/share/doc/reprepro/docs/pdiff.example
/usr/share/doc/reprepro/docs/recovery
/usr/share/doc/reprepro/docs/sftp.py
/usr/share/doc/reprepro/docs/short-howto
/usr/share/doc/reprepro/docs/xz.example
/usr/share/licenses/reprepro
/usr/share/licenses/reprepro/COPYING
/usr/share/man/man1/changestool.1.gz
/usr/share/man/man1/reprepro.1.gz
/usr/share/man/man1/rredtool.1.gz
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_reprepro

References

Summary

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