How To Install vim-gv on Rocky Linux 8

In this tutorial we learn how to install vim-gv on Rocky Linux 8. vim-gv is Git commit browser in Vim

Introduction

In this tutorial we learn how to install vim-gv on Rocky Linux 8.

What is vim-gv

A git commit browser.

We can use yum or dnf to install vim-gv on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install vim-gv.

Install vim-gv on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install vim-gv

Install vim-gv on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install vim-gv using yum by running the following command:

sudo yum -y install vim-gv

How To Uninstall vim-gv on Rocky Linux 8

To uninstall only the vim-gv package we can use the following command:

sudo dnf remove vim-gv

vim-gv Package Contents on Rocky Linux 8

/usr/share/doc/vim-gv
/usr/share/doc/vim-gv/README.md
/usr/share/doc/vim-gv/test
/usr/share/doc/vim-gv/test/gv.vader
/usr/share/metainfo/vim-gv.metainfo.xml
/usr/share/vim/vimfiles/plugin/gv.vim

References

Summary

In this tutorial we learn how to install vim-gv on Rocky Linux 8 using yum and dnf.