How To Install vim-syntastic-php on Fedora 36
Introduction
In this tutorial we learn how to install vim-syntastic-php
on Fedora 36.
What is vim-syntastic-php
Allows checking php sources files.
We can use yum
or dnf
to install vim-syntastic-php
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install vim-syntastic-php.
Install vim-syntastic-php 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-php
using dnf
by running the following command:
sudo dnf -y install vim-syntastic-php
Install vim-syntastic-php 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-php
using yum
by running the following command:
sudo yum -y install vim-syntastic-php
How To Uninstall vim-syntastic-php on Fedora 36
To uninstall only the vim-syntastic-php
package we can use the following command:
sudo dnf remove vim-syntastic-php
vim-syntastic-php Package Contents on Fedora 36
/usr/share/licenses/vim-syntastic-php
/usr/share/licenses/vim-syntastic-php/LICENCE
/usr/share/vim/vimfiles/syntax_checkers/php
/usr/share/vim/vimfiles/syntax_checkers/php/php.vim
/usr/share/vim/vimfiles/syntax_checkers/php/phpcs.vim
/usr/share/vim/vimfiles/syntax_checkers/php/phplint.vim
/usr/share/vim/vimfiles/syntax_checkers/php/phpmd.vim
/usr/share/vim/vimfiles/syntax_checkers/php/phpstan.vim
References
Summary
In this tutorial we learn how to install vim-syntastic-php
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).