How To Install topgit on Fedora 34

topgit is A different patch queue manager

Introduction

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

What is topgit

TopGit aims to make handling of large amount of interdependent topic branches easier. In fact, it is designed especially for the case when you maintain a queue of third-party patches on top of another (perhaps Git-controlled) project and want to easily organize, maintain and submit them - TopGit achieves that by keeping a separate topic branch for each patch and providing few tools to maintain the branches. This version of TopGit contains everything from its parent (including the parent’s new location) and then it’s Patched Really Overall (PRO) to fix a number of bugs.

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

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

sudo dnf -y install topgit

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

sudo yum -y install topgit

How To Uninstall topgit on Fedora 34

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

sudo dnf remove topgit

topgit Package Contents on Fedora 34

/etc/bash_completion.d/tg-completion.bash
/usr/bin/tg
/usr/libexec/topgit
/usr/libexec/topgit/awk
/usr/libexec/topgit/awk/ref_match
/usr/libexec/topgit/awk/ref_prefixes
/usr/libexec/topgit/awk/ref_prepare
/usr/libexec/topgit/awk/topgit_branches
/usr/libexec/topgit/awk/topgit_deps
/usr/libexec/topgit/awk/topgit_deps_prepare
/usr/libexec/topgit/awk/topgit_msg
/usr/libexec/topgit/awk/topgit_msg_prepare
/usr/libexec/topgit/awk/topgit_navigate
/usr/libexec/topgit/awk/topgit_recurse
/usr/libexec/topgit/hooks
/usr/libexec/topgit/hooks/pre-commit
/usr/libexec/topgit/tg--awksome
/usr/libexec/topgit/tg--index-merge-one-file
/usr/libexec/topgit/tg--index-merge-one-file-topmerge
/usr/libexec/topgit/tg--index-merge-one-file-toptheirs
/usr/libexec/topgit/tg-annihilate
/usr/libexec/topgit/tg-base
/usr/libexec/topgit/tg-checkout
/usr/libexec/topgit/tg-contains
/usr/libexec/topgit/tg-create
/usr/libexec/topgit/tg-delete
/usr/libexec/topgit/tg-depend
/usr/libexec/topgit/tg-export
/usr/libexec/topgit/tg-files
/usr/libexec/topgit/tg-import
/usr/libexec/topgit/tg-info
/usr/libexec/topgit/tg-log
/usr/libexec/topgit/tg-mail
/usr/libexec/topgit/tg-migrate-bases
/usr/libexec/topgit/tg-next
/usr/libexec/topgit/tg-patch
/usr/libexec/topgit/tg-prev
/usr/libexec/topgit/tg-push
/usr/libexec/topgit/tg-rebase
/usr/libexec/topgit/tg-remote
/usr/libexec/topgit/tg-revert
/usr/libexec/topgit/tg-shell
/usr/libexec/topgit/tg-summary
/usr/libexec/topgit/tg-tag
/usr/libexec/topgit/tg-update
/usr/share/doc/topgit
/usr/share/doc/topgit/README
/usr/share/doc/topgit/tg-annihilate.html
/usr/share/doc/topgit/tg-base.html
/usr/share/doc/topgit/tg-checkout.html
/usr/share/doc/topgit/tg-contains.html
/usr/share/doc/topgit/tg-create.html
/usr/share/doc/topgit/tg-delete.html
/usr/share/doc/topgit/tg-depend.html
/usr/share/doc/topgit/tg-export.html
/usr/share/doc/topgit/tg-files.html
/usr/share/doc/topgit/tg-help.html
/usr/share/doc/topgit/tg-import.html
/usr/share/doc/topgit/tg-info.html
/usr/share/doc/topgit/tg-log.html
/usr/share/doc/topgit/tg-mail.html
/usr/share/doc/topgit/tg-migrate-bases.html
/usr/share/doc/topgit/tg-next.html
/usr/share/doc/topgit/tg-patch.html
/usr/share/doc/topgit/tg-prev.html
/usr/share/doc/topgit/tg-push.html
/usr/share/doc/topgit/tg-rebase.html
/usr/share/doc/topgit/tg-remote.html
/usr/share/doc/topgit/tg-revert.html
/usr/share/doc/topgit/tg-shell.html
/usr/share/doc/topgit/tg-status.html
/usr/share/doc/topgit/tg-summary.html
/usr/share/doc/topgit/tg-tag.html
/usr/share/doc/topgit/tg-tg.html
/usr/share/doc/topgit/tg-update.html
/usr/share/doc/topgit/topgit.html
/usr/share/licenses/topgit
/usr/share/licenses/topgit/COPYING
/usr/share/topgit
/usr/share/topgit/tg-annihilate.txt
/usr/share/topgit/tg-base.txt
/usr/share/topgit/tg-checkout.txt
/usr/share/topgit/tg-contains.txt
/usr/share/topgit/tg-create.txt
/usr/share/topgit/tg-delete.txt
/usr/share/topgit/tg-depend.txt
/usr/share/topgit/tg-export.txt
/usr/share/topgit/tg-files.txt
/usr/share/topgit/tg-help.txt
/usr/share/topgit/tg-import.txt
/usr/share/topgit/tg-info.txt
/usr/share/topgit/tg-log.txt
/usr/share/topgit/tg-mail.txt
/usr/share/topgit/tg-migrate-bases.txt
/usr/share/topgit/tg-next.txt
/usr/share/topgit/tg-patch.txt
/usr/share/topgit/tg-prev.txt
/usr/share/topgit/tg-push.txt
/usr/share/topgit/tg-rebase.txt
/usr/share/topgit/tg-remote.txt
/usr/share/topgit/tg-revert.txt
/usr/share/topgit/tg-shell.txt
/usr/share/topgit/tg-status.txt
/usr/share/topgit/tg-summary.txt
/usr/share/topgit/tg-tag.txt
/usr/share/topgit/tg-tg.txt
/usr/share/topgit/tg-update.txt

References

Summary

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