How To Install vim-syntastic-lex on Fedora 36

In this tutorial we learn how to install vim-syntastic-lex in Fedora 36. vim-syntastic-lex is A syntax checker for lex programming language

Introduction

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

What is vim-syntastic-lex

Allows checking lex sources files.

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

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

sudo dnf -y install vim-syntastic-lex

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

sudo yum -y install vim-syntastic-lex

How To Uninstall vim-syntastic-lex on Fedora 36

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

sudo dnf remove vim-syntastic-lex

vim-syntastic-lex Package Contents on Fedora 36

/usr/share/licenses/vim-syntastic-lex
/usr/share/licenses/vim-syntastic-lex/LICENCE
/usr/share/vim/vimfiles/syntax_checkers/lex
/usr/share/vim/vimfiles/syntax_checkers/lex/flex.vim

References

Summary

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