How To Install vim-data on Fedora 36

In this tutorial we learn how to install vim-data in Fedora 36. vim-data is Shared data for Vi and Vim

Introduction

In this tutorial we learn how to install vim-data on Fedora 36.

What is vim-data

The subpackage is used for shipping files and directories, which need to be shared between vim-minimal and vim-common packages.

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

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

sudo dnf -y install vim-data

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

sudo yum -y install vim-data

How To Uninstall vim-data on Fedora 36

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

sudo dnf remove vim-data

vim-data Package Contents on Fedora 36

/usr/share/licenses/vim-data
/usr/share/licenses/vim-data/LICENSE
/usr/share/vim
/usr/share/vim/vim82
/usr/share/vim/vim82/defaults.vim
/usr/share/vim/vimfiles
/usr/share/vim/vimfiles/template.spec

References

Summary

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