How To Install vim-airline on CentOS 8
Introduction
In this tutorial we learn how to install vim-airline
on CentOS 8.
What is vim-airline
Lean & mean status/tabline for vim that’s light as air. When the plugin is correctly loaded, Vim will draw a nice statusline at the bottom of each window.
We can use yum
or dnf
to install vim-airline
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install vim-airline.
Install vim-airline on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install vim-airline
using dnf
by running the following command:
sudo dnf -y install vim-airline
Install vim-airline on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install vim-airline
using yum
by running the following command:
sudo yum -y install vim-airline
How To Uninstall vim-airline on CentOS 8
To uninstall only the vim-airline
package we can use the following command:
sudo dnf remove vim-airline
vim-airline Package Contents on CentOS 8
/usr/share/doc/vim-airline
/usr/share/doc/vim-airline/CHANGELOG.md
/usr/share/doc/vim-airline/CONTRIBUTING.md
/usr/share/doc/vim-airline/README.md
/usr/share/doc/vim-airline/airline.txt
/usr/share/licenses/vim-airline
/usr/share/licenses/vim-airline/LICENSE
/usr/share/metainfo/vim-airline.metainfo.xml
/usr/share/vim/vimfiles/autoload/airline
/usr/share/vim/vimfiles/autoload/airline.vim
/usr/share/vim/vimfiles/autoload/airline/async.vim
/usr/share/vim/vimfiles/autoload/airline/builder.vim
/usr/share/vim/vimfiles/autoload/airline/debug.vim
/usr/share/vim/vimfiles/autoload/airline/extensions
/usr/share/vim/vimfiles/autoload/airline/extensions.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/ale.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/bookmark.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/branch.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/bufferline.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/capslock.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/coc.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/commandt.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/csv.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/ctrlp.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/ctrlspace.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/cursormode.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/default.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/denite.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/eclim.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/example.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/fugitiveline.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/grepper.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/gutentags.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/hunks.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/keymap.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/languageclient.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/localsearch.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/neomake.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/netrw.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/nrrwrgn.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/obsession.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/po.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/promptline.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/quickfix.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/syntastic.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/autoshow.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/buffers.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/buflist.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/builder.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/ctrlspace.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/formatters
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/formatters/default.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/formatters/jsformatter.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/formatters/short_path.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/formatters/tabnr.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/formatters/unique_tail.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/formatters/unique_tail_improved.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/tabs.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/tabws.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tabline/xtabline.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tagbar.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/term.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/tmuxline.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/undotree.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/unicode.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/unite.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/vimagit.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/vimtex.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/virtualenv.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/vista.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/whitespace.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/windowswap.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/wordcount
/usr/share/vim/vimfiles/autoload/airline/extensions/wordcount.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/wordcount/formatters
/usr/share/vim/vimfiles/autoload/airline/extensions/wordcount/formatters/default.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/xkblayout.vim
/usr/share/vim/vimfiles/autoload/airline/extensions/ycm.vim
/usr/share/vim/vimfiles/autoload/airline/highlighter.vim
/usr/share/vim/vimfiles/autoload/airline/init.vim
/usr/share/vim/vimfiles/autoload/airline/msdos.vim
/usr/share/vim/vimfiles/autoload/airline/parts.vim
/usr/share/vim/vimfiles/autoload/airline/section.vim
/usr/share/vim/vimfiles/autoload/airline/themes
/usr/share/vim/vimfiles/autoload/airline/themes.vim
/usr/share/vim/vimfiles/autoload/airline/themes/dark.vim
/usr/share/vim/vimfiles/autoload/airline/util.vim
/usr/share/vim/vimfiles/plugin/airline.vim
References
Summary
In this tutorial we learn how to install vim-airline
on CentOS 8 using yum and dnf.