How To Install hub on Fedora 36

In this tutorial we learn how to install hub in Fedora 36. hub is A command-line tool that makes git easier to use with GitHub

Introduction

In this tutorial we learn how to install hub on Fedora 36.

What is hub

A command-line tool that makes git easier to use with GitHub

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

Install hub on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install hub using dnf by running the following command:

sudo dnf -y install hub

Install hub on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install hub using yum by running the following command:

sudo yum -y install hub

How To Uninstall hub on Fedora 36

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

sudo dnf remove hub

hub Package Contents on Fedora 36

/usr/bin/hub
/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/f03b9a71413d136bce8de4dc6ebd26170a17e9
/usr/share/bash-completion/completions/hub
/usr/share/doc/hub
/usr/share/doc/hub/CODE_OF_CONDUCT.md
/usr/share/doc/hub/CONTRIBUTING.md
/usr/share/doc/hub/README-completion.md
/usr/share/doc/hub/README-features.md
/usr/share/doc/hub/README.md
/usr/share/doc/hub/changelog
/usr/share/doc/hub/hub.1.md
/usr/share/fish
/usr/share/fish/completions
/usr/share/fish/completions/hub.fish
/usr/share/licenses/hub
/usr/share/licenses/hub/LICENSE
/usr/share/man/man1/hub-alias.1.gz
/usr/share/man/man1/hub-am.1.gz
/usr/share/man/man1/hub-api.1.gz
/usr/share/man/man1/hub-apply.1.gz
/usr/share/man/man1/hub-browse.1.gz
/usr/share/man/man1/hub-checkout.1.gz
/usr/share/man/man1/hub-cherry-pick.1.gz
/usr/share/man/man1/hub-ci-status.1.gz
/usr/share/man/man1/hub-clone.1.gz
/usr/share/man/man1/hub-compare.1.gz
/usr/share/man/man1/hub-create.1.gz
/usr/share/man/man1/hub-delete.1.gz
/usr/share/man/man1/hub-fetch.1.gz
/usr/share/man/man1/hub-fork.1.gz
/usr/share/man/man1/hub-gist.1.gz
/usr/share/man/man1/hub-help.1.gz
/usr/share/man/man1/hub-init.1.gz
/usr/share/man/man1/hub-issue.1.gz
/usr/share/man/man1/hub-merge.1.gz
/usr/share/man/man1/hub-pr.1.gz
/usr/share/man/man1/hub-pull-request.1.gz
/usr/share/man/man1/hub-push.1.gz
/usr/share/man/man1/hub-release.1.gz
/usr/share/man/man1/hub-remote.1.gz
/usr/share/man/man1/hub-submodule.1.gz
/usr/share/man/man1/hub-sync.1.gz
/usr/share/man/man1/hub.1.gz
/usr/share/vim
/usr/share/vim/vimfiles
/usr/share/vim/vimfiles/ftdetect
/usr/share/vim/vimfiles/ftdetect/pullrequest.vim
/usr/share/vim/vimfiles/syntax
/usr/share/vim/vimfiles/syntax/pullrequest.vim
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_hub

References

Summary

In this tutorial we learn how to install hub on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).