How To Install reposurgeon on Fedora 34

reposurgeon is SCM Repository Manipulation Tool

Introduction

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

What is reposurgeon

Reposurgeon enables risky operations that version-control systems don’t want to let you do, such as editing past comments and metadata and removing commits. It works with any version control system that can export and import git fast-import streams, including git, hg, fossil, bzr, CVS and RCS. It can also read Subversion dump files directly and can thus be used to script production of very high-quality conversions from Subversion to any supported DVCS.

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

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

sudo dnf -y install reposurgeon

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

sudo yum -y install reposurgeon

How To Uninstall reposurgeon on Fedora 34

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

sudo dnf remove reposurgeon

reposurgeon Package Contents on Fedora 34

/usr/bin/repocutter
/usr/bin/repomapper
/usr/bin/reposurgeon
/usr/bin/repotool
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/854e59f7a85186d497bcd19f736bc0062244a2
/usr/lib/.build-id/43
/usr/lib/.build-id/43/2608db24eb02c971d5e88d931dbfe8c1cdf609
/usr/lib/.build-id/97
/usr/lib/.build-id/97/c96e287a91b2529d73431e32e4a57814728947
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/795d9542bc0039a0db285afb10066959b49d3c
/usr/share/doc/reposurgeon
/usr/share/doc/reposurgeon/NEWS.html
/usr/share/doc/reposurgeon/README.html
/usr/share/doc/reposurgeon/oops.svg
/usr/share/doc/reposurgeon/repobench.html
/usr/share/doc/reposurgeon/repocutter.html
/usr/share/doc/reposurgeon/repomapper.html
/usr/share/doc/reposurgeon/repository-editing.html
/usr/share/doc/reposurgeon/reposurgeon.html
/usr/share/doc/reposurgeon/repotool.html
/usr/share/emacs/site-lisp/reposurgeon-mode.el
/usr/share/licenses/reposurgeon
/usr/share/licenses/reposurgeon/COPYING
/usr/share/man/man1/repocutter.1.gz
/usr/share/man/man1/repomapper.1.gz
/usr/share/man/man1/reposurgeon.1.gz
/usr/share/man/man1/repotool.1.gz
/usr/bin/repocutter
/usr/bin/repomapper
/usr/bin/reposurgeon
/usr/bin/repotool
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/316e204edc01dc3c71df6cdfe79e236403befa
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/93ced85e8a19ce1e6cba6212f5631d11d685a2
/usr/lib/.build-id/af
/usr/lib/.build-id/af/ffb0b9a567ae6c13bd2c8000f82fe22c57d017
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/6fe06356880395d8b2bb0581d019314e00cdf3
/usr/share/doc/reposurgeon
/usr/share/doc/reposurgeon/NEWS.html
/usr/share/doc/reposurgeon/README.html
/usr/share/doc/reposurgeon/oops.svg
/usr/share/doc/reposurgeon/repobench.html
/usr/share/doc/reposurgeon/repocutter.html
/usr/share/doc/reposurgeon/repomapper.html
/usr/share/doc/reposurgeon/repository-editing.html
/usr/share/doc/reposurgeon/reposurgeon.html
/usr/share/doc/reposurgeon/repotool.html
/usr/share/emacs/site-lisp/reposurgeon-mode.el
/usr/share/licenses/reposurgeon
/usr/share/licenses/reposurgeon/COPYING
/usr/share/man/man1/repocutter.1.gz
/usr/share/man/man1/repomapper.1.gz
/usr/share/man/man1/reposurgeon.1.gz
/usr/share/man/man1/repotool.1.gz

References

Summary

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