How to Install and Uninstall vim-trailing-whitespace.noarch Package on Red Hat Enterprise Linux 8 (RHEL 8)

Last updated: March 01,2025

1. Install "vim-trailing-whitespace.noarch" package

This is a short guide on how to install vim-trailing-whitespace.noarch on Red Hat Enterprise Linux 8 (RHEL 8)

$ sudo dnf update $ sudo dnf install vim-trailing-whitespace.noarch

2. Uninstall "vim-trailing-whitespace.noarch" package

This is a short guide on how to uninstall vim-trailing-whitespace.noarch on Red Hat Enterprise Linux 8 (RHEL 8):

$ sudo dnf remove vim-trailing-whitespace.noarch $ sudo dnf autoremove

3. Information about the vim-trailing-whitespace.noarch package on Red Hat Enterprise Linux 8 (RHEL 8)

Last metadata expiration check: 1:59:32 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : vim-trailing-whitespace
Version : 1.0
Release : 9.20230228git5540b3f.11.el8
Architecture : noarch
Size : 11 k
Source : vim-trailing-whitespace-1.0-9.20230228git5540b3f.11.el8.src.rpm
Repository : epel
Summary : Highlights trailing whitespace in red and provides :FixWhitespace to fix it
URL : https://github.com/bronson/vim-trailing-whitespace
License : CC-BY-SA
Description : This plugin causes all trailing whitespace to be highlighted in red.
:
: To fix the whitespace errors, just call :FixWhitespace. By default it operates
: on the entire file. Pass a range (or use V to select some lines) to restrict
: the portion of the file that gets fixed.