How To Install kbd on CentOS 8

kbd is Tools for configuring the console (keyboard, virtual terminals, etc.)

Introduction

In this tutorial we learn how to install kbd on CentOS 8.

What is kbd

The kbd package contains tools for managing a Linux system’s console’s behavior, including the keyboard, the screen fonts, the virtual terminals and font files.

We can use yum or dnf to install kbd on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install kbd.

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

sudo dnf -y install kbd

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

sudo yum -y install kbd

How To Uninstall kbd on CentOS 8

To uninstall only the kbd package we can use the following command:

sudo dnf remove kbd

kbd Package Contents on CentOS 8

/bin/dumpkeys
/bin/kbd_mode
/bin/loadkeys
/bin/setfont
/bin/unicode_start
/bin/unicode_stop
/etc/pam.d/vlock
/usr/bin/chvt
/usr/bin/deallocvt
/usr/bin/fgconsole
/usr/bin/getkeycodes
/usr/bin/kbdinfo
/usr/bin/kbdrate
/usr/bin/loadunimap
/usr/bin/mapscrn
/usr/bin/open
/usr/bin/openvt
/usr/bin/psfaddtable
/usr/bin/psfgettable
/usr/bin/psfstriptable
/usr/bin/psfxtable
/usr/bin/resizecons
/usr/bin/setkeycodes
/usr/bin/setleds
/usr/bin/setmetamode
/usr/bin/setvtrgb
/usr/bin/showconsolefont
/usr/bin/showkey
/usr/bin/vlock
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/c6d93a89707aab91aee57213b6f233b6c0aad4
/usr/lib/.build-id/01
/usr/lib/.build-id/01/6413a07895439fb99357564c71a03b8e3db4c3
/usr/lib/.build-id/06
/usr/lib/.build-id/06/3a859e138ca137c9b902497b3589c32d29ffd4
/usr/lib/.build-id/34
/usr/lib/.build-id/34/b388471193cc26c5aaf6dfafc1fc9279fb880d
/usr/lib/.build-id/34/fcc5bc961c24c54fceba8e0726cb712a2a8598
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/76e6fedec7b93c29869cd0e6deb728c62ab0a8
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/3935240e01c41881225b5527fd9d2487751260
/usr/lib/.build-id/53
/usr/lib/.build-id/53/a6f261c1b714214fbe830273f907aa6d9386cf
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/ff9eab616bc5b6f6f92fa620d27e1f6ddfa879
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/662a175e1bd81397bfb2f79093051a7126ebc8
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/6b07046dcde72e6f8b6475a6a4fda3f8da17d1
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/1515e622ab96ec51e24217a45474e237668a8b
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/f97e7b1fffe04d87525a64fe5e813c200af53c
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/8c7f76c4c4aa73331687cc6bdcd2506ccb5471
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/deeac551d171c189a99c6dea8b1c3e46e1e4e9
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/16be612ce4f99680bad7cc6aecedc3ecfe542c
/usr/lib/.build-id/db
/usr/lib/.build-id/db/72800ec520a8dd4a6727ad4dc567be06371cf2
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/c6b2791b6043dc784a83b15a4825fb49565e01
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/dde05bffc6c0608286c2d691da682f6b616678
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/50db1fb9b8a35fdc05f5073cc138bc13fa507f
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/713af0fdecba5aa029bee516850454326ba215
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/2dd05ddca806cbfb3f7af3a8eb1e608a95d05b
/usr/share/doc/kbd
/usr/share/doc/kbd/ANSI-dvorak.gif
/usr/share/doc/kbd/AUTHORS
/usr/share/doc/kbd/COPYING
/usr/share/doc/kbd/ChangeLog
/usr/share/doc/kbd/README
/usr/share/doc/kbd/dvorak-l.xmodmap
/usr/share/doc/kbd/dvorak-r.xmodmap
/usr/share/doc/kbd/dvorak.diffs
/usr/share/doc/kbd/dvorak.txt
/usr/share/doc/kbd/dvorak.xmodmap
/usr/share/doc/kbd/font-formats-1.html
/usr/share/doc/kbd/font-formats-2.html
/usr/share/doc/kbd/font-formats-3.html
/usr/share/doc/kbd/font-formats-4.html
/usr/share/doc/kbd/font-formats-5.html
/usr/share/doc/kbd/font-formats.html
/usr/share/doc/kbd/kbd.FAQ-1.html
/usr/share/doc/kbd/kbd.FAQ-10.html
/usr/share/doc/kbd/kbd.FAQ-11.html
/usr/share/doc/kbd/kbd.FAQ-12.html
/usr/share/doc/kbd/kbd.FAQ-13.html
/usr/share/doc/kbd/kbd.FAQ-14.html
/usr/share/doc/kbd/kbd.FAQ-15.html
/usr/share/doc/kbd/kbd.FAQ-16.html
/usr/share/doc/kbd/kbd.FAQ-17.html
/usr/share/doc/kbd/kbd.FAQ-18.html
/usr/share/doc/kbd/kbd.FAQ-19.html
/usr/share/doc/kbd/kbd.FAQ-2.html
/usr/share/doc/kbd/kbd.FAQ-20.html
/usr/share/doc/kbd/kbd.FAQ-21.html
/usr/share/doc/kbd/kbd.FAQ-22.html
/usr/share/doc/kbd/kbd.FAQ-23.html
/usr/share/doc/kbd/kbd.FAQ-3.html
/usr/share/doc/kbd/kbd.FAQ-4.html
/usr/share/doc/kbd/kbd.FAQ-5.html
/usr/share/doc/kbd/kbd.FAQ-6.html
/usr/share/doc/kbd/kbd.FAQ-7.html
/usr/share/doc/kbd/kbd.FAQ-8.html
/usr/share/doc/kbd/kbd.FAQ-9.html
/usr/share/doc/kbd/kbd.FAQ.html
/usr/share/doc/kbd/utfdemo
/usr/share/doc/kbd/utflist
/usr/share/locale/cs/LC_MESSAGES/kbd.mo
/usr/share/locale/da/LC_MESSAGES/kbd.mo
/usr/share/locale/de/LC_MESSAGES/kbd.mo
/usr/share/locale/el/LC_MESSAGES/kbd.mo
/usr/share/locale/eo/LC_MESSAGES/kbd.mo
/usr/share/locale/es/LC_MESSAGES/kbd.mo
/usr/share/locale/fr/LC_MESSAGES/kbd.mo
/usr/share/locale/id/LC_MESSAGES/kbd.mo
/usr/share/locale/it/LC_MESSAGES/kbd.mo
/usr/share/locale/nl/LC_MESSAGES/kbd.mo
/usr/share/locale/pl/LC_MESSAGES/kbd.mo
/usr/share/locale/ro/LC_MESSAGES/kbd.mo
/usr/share/locale/ru/LC_MESSAGES/kbd.mo
/usr/share/locale/sv/LC_MESSAGES/kbd.mo
/usr/share/locale/tr/LC_MESSAGES/kbd.mo
/usr/share/locale/uk/LC_MESSAGES/kbd.mo
/usr/share/locale/vi/LC_MESSAGES/kbd.mo
/usr/share/locale/zh_CN/LC_MESSAGES/kbd.mo
/usr/share/man/man1/chvt.1.gz
/usr/share/man/man1/deallocvt.1.gz
/usr/share/man/man1/dumpkeys.1.gz
/usr/share/man/man1/fgconsole.1.gz
/usr/share/man/man1/kbd_mode.1.gz
/usr/share/man/man1/kbdinfo.1.gz
/usr/share/man/man1/loadkeys.1.gz
/usr/share/man/man1/open.1.gz
/usr/share/man/man1/openvt.1.gz
/usr/share/man/man1/psfaddtable.1.gz
/usr/share/man/man1/psfgettable.1.gz
/usr/share/man/man1/psfstriptable.1.gz
/usr/share/man/man1/psfxtable.1.gz
/usr/share/man/man1/setleds.1.gz
/usr/share/man/man1/setmetamode.1.gz
/usr/share/man/man1/showkey.1.gz
/usr/share/man/man1/unicode_start.1.gz
/usr/share/man/man1/unicode_stop.1.gz
/usr/share/man/man1/vlock.1.gz
/usr/share/man/man5/keymaps.5.gz
/usr/share/man/man8/getkeycodes.8.gz
/usr/share/man/man8/kbdrate.8.gz
/usr/share/man/man8/loadunimap.8.gz
/usr/share/man/man8/mapscrn.8.gz
/usr/share/man/man8/resizecons.8.gz
/usr/share/man/man8/setfont.8.gz
/usr/share/man/man8/setkeycodes.8.gz
/usr/share/man/man8/setvtrgb.8.gz
/usr/share/man/man8/showconsolefont.8.gz

References

Summary

In this tutorial we learn how to install kbd on CentOS 8 using yum and dnf.