How To Install kmahjongg on CentOS 8

kmahjongg is A tile matching game

Introduction

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

What is kmahjongg

KMahjongg is a tile matching game for one or two players, a variation usually known as Mahjong Solitaire. In KMahjongg the tiles are scrambled and stacked on top of each other to resemble a certain shape. The player is then expected to remove all the tiles off the game board by locating each tile’s matching pair.

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

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

sudo dnf -y install kmahjongg

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

sudo yum -y install kmahjongg

How To Uninstall kmahjongg on CentOS 8

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

sudo dnf remove kmahjongg

kmahjongg Package Contents on CentOS 8

/usr/bin/kmahjongg
/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/749f3610108ef4eae1a1fd36dc621e48a1eb84
/usr/share/applications/org.kde.kmahjongg.desktop
/usr/share/config.kcfg/kmahjongg.kcfg
/usr/share/doc/HTML/cs/kmahjongg
/usr/share/doc/HTML/cs/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/cs/kmahjongg/index.docbook
/usr/share/doc/HTML/de/kmahjongg
/usr/share/doc/HTML/de/kmahjongg/config.png
/usr/share/doc/HTML/de/kmahjongg/config_background.png
/usr/share/doc/HTML/de/kmahjongg/config_layout.png
/usr/share/doc/HTML/de/kmahjongg/config_tiles.png
/usr/share/doc/HTML/de/kmahjongg/gamescreen.png
/usr/share/doc/HTML/de/kmahjongg/highscore.png
/usr/share/doc/HTML/de/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/de/kmahjongg/index.docbook
/usr/share/doc/HTML/de/kmahjongg/numbered.png
/usr/share/doc/HTML/de/kmahjongg/shortcuts.png
/usr/share/doc/HTML/en/kmahjongg
/usr/share/doc/HTML/en/kmahjongg/boardeditor.png
/usr/share/doc/HTML/en/kmahjongg/config.png
/usr/share/doc/HTML/en/kmahjongg/config_background.png
/usr/share/doc/HTML/en/kmahjongg/config_layout.png
/usr/share/doc/HTML/en/kmahjongg/config_tiles.png
/usr/share/doc/HTML/en/kmahjongg/gamescreen.png
/usr/share/doc/HTML/en/kmahjongg/highscore.png
/usr/share/doc/HTML/en/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/en/kmahjongg/index.docbook
/usr/share/doc/HTML/en/kmahjongg/numbered.png
/usr/share/doc/HTML/es/kmahjongg
/usr/share/doc/HTML/es/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/es/kmahjongg/index.docbook
/usr/share/doc/HTML/et/kmahjongg
/usr/share/doc/HTML/et/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/et/kmahjongg/index.docbook
/usr/share/doc/HTML/fr/kmahjongg
/usr/share/doc/HTML/fr/kmahjongg/config.png
/usr/share/doc/HTML/fr/kmahjongg/config_background.png
/usr/share/doc/HTML/fr/kmahjongg/config_layout.png
/usr/share/doc/HTML/fr/kmahjongg/config_tiles.png
/usr/share/doc/HTML/fr/kmahjongg/gamescreen.png
/usr/share/doc/HTML/fr/kmahjongg/highscore.png
/usr/share/doc/HTML/fr/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/fr/kmahjongg/index.docbook
/usr/share/doc/HTML/fr/kmahjongg/numbered.png
/usr/share/doc/HTML/fr/kmahjongg/shortcuts.png
/usr/share/doc/HTML/it/kmahjongg
/usr/share/doc/HTML/it/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/it/kmahjongg/index.docbook
/usr/share/doc/HTML/lt/kmahjongg
/usr/share/doc/HTML/lt/kmahjongg/config.png
/usr/share/doc/HTML/lt/kmahjongg/config_background.png
/usr/share/doc/HTML/lt/kmahjongg/config_layout.png
/usr/share/doc/HTML/lt/kmahjongg/config_tiles.png
/usr/share/doc/HTML/lt/kmahjongg/gamescreen.png
/usr/share/doc/HTML/lt/kmahjongg/highscore.png
/usr/share/doc/HTML/lt/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/lt/kmahjongg/index.docbook
/usr/share/doc/HTML/lt/kmahjongg/numbered.png
/usr/share/doc/HTML/lt/kmahjongg/shortcuts.png
/usr/share/doc/HTML/nl/kmahjongg
/usr/share/doc/HTML/nl/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/nl/kmahjongg/index.docbook
/usr/share/doc/HTML/pl/kmahjongg
/usr/share/doc/HTML/pl/kmahjongg/config.png
/usr/share/doc/HTML/pl/kmahjongg/config_background.png
/usr/share/doc/HTML/pl/kmahjongg/config_layout.png
/usr/share/doc/HTML/pl/kmahjongg/config_tiles.png
/usr/share/doc/HTML/pl/kmahjongg/gamescreen.png
/usr/share/doc/HTML/pl/kmahjongg/highscore.png
/usr/share/doc/HTML/pl/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/pl/kmahjongg/index.docbook
/usr/share/doc/HTML/pl/kmahjongg/numbered.png
/usr/share/doc/HTML/pl/kmahjongg/shortcuts.png
/usr/share/doc/HTML/pt/kmahjongg
/usr/share/doc/HTML/pt/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/pt/kmahjongg/index.docbook
/usr/share/doc/HTML/pt_BR/kmahjongg
/usr/share/doc/HTML/pt_BR/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/pt_BR/kmahjongg/index.docbook
/usr/share/doc/HTML/ru/kmahjongg
/usr/share/doc/HTML/ru/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/ru/kmahjongg/index.docbook
/usr/share/doc/HTML/sv/kmahjongg
/usr/share/doc/HTML/sv/kmahjongg/boardeditor.png
/usr/share/doc/HTML/sv/kmahjongg/config.png
/usr/share/doc/HTML/sv/kmahjongg/gamescreen.png
/usr/share/doc/HTML/sv/kmahjongg/highscore.png
/usr/share/doc/HTML/sv/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/sv/kmahjongg/index.docbook
/usr/share/doc/HTML/sv/kmahjongg/numbered.png
/usr/share/doc/HTML/sv/kmahjongg/shortcuts.png
/usr/share/doc/HTML/sv/kmahjongg/showremoved.png
/usr/share/doc/HTML/uk/kmahjongg
/usr/share/doc/HTML/uk/kmahjongg/boardeditor.png
/usr/share/doc/HTML/uk/kmahjongg/config.png
/usr/share/doc/HTML/uk/kmahjongg/config_background.png
/usr/share/doc/HTML/uk/kmahjongg/config_layout.png
/usr/share/doc/HTML/uk/kmahjongg/config_tiles.png
/usr/share/doc/HTML/uk/kmahjongg/gamescreen.png
/usr/share/doc/HTML/uk/kmahjongg/highscore.png
/usr/share/doc/HTML/uk/kmahjongg/index.cache.bz2
/usr/share/doc/HTML/uk/kmahjongg/index.docbook
/usr/share/doc/HTML/uk/kmahjongg/numbered.png
/usr/share/icons/hicolor/128x128/apps/kmahjongg.png
/usr/share/icons/hicolor/16x16/apps/kmahjongg.png
/usr/share/icons/hicolor/22x22/apps/kmahjongg.png
/usr/share/icons/hicolor/32x32/apps/kmahjongg.png
/usr/share/icons/hicolor/48x48/apps/kmahjongg.png
/usr/share/icons/hicolor/64x64/apps/kmahjongg.png
/usr/share/icons/hicolor/scalable/apps/kmahjongg.svgz
/usr/share/kmahjongg
/usr/share/kmahjongg/layouts
/usr/share/kmahjongg/layouts/4_winds.desktop
/usr/share/kmahjongg/layouts/4_winds.layout
/usr/share/kmahjongg/layouts/Vi.desktop
/usr/share/kmahjongg/layouts/Vi.layout
/usr/share/kmahjongg/layouts/X_shaped.desktop
/usr/share/kmahjongg/layouts/X_shaped.layout
/usr/share/kmahjongg/layouts/alien.desktop
/usr/share/kmahjongg/layouts/alien.layout
/usr/share/kmahjongg/layouts/altar.desktop
/usr/share/kmahjongg/layouts/altar.layout
/usr/share/kmahjongg/layouts/arena.desktop
/usr/share/kmahjongg/layouts/arena.layout
/usr/share/kmahjongg/layouts/arrow.desktop
/usr/share/kmahjongg/layouts/arrow.layout
/usr/share/kmahjongg/layouts/atlantis.desktop
/usr/share/kmahjongg/layouts/atlantis.layout
/usr/share/kmahjongg/layouts/aztec.desktop
/usr/share/kmahjongg/layouts/aztec.layout
/usr/share/kmahjongg/layouts/balance.desktop
/usr/share/kmahjongg/layouts/balance.layout
/usr/share/kmahjongg/layouts/bat.desktop
/usr/share/kmahjongg/layouts/bat.layout
/usr/share/kmahjongg/layouts/bug.desktop
/usr/share/kmahjongg/layouts/bug.layout
/usr/share/kmahjongg/layouts/castle.desktop
/usr/share/kmahjongg/layouts/castle.layout
/usr/share/kmahjongg/layouts/castle2.desktop
/usr/share/kmahjongg/layouts/castle2.layout
/usr/share/kmahjongg/layouts/cat.desktop
/usr/share/kmahjongg/layouts/cat.layout
/usr/share/kmahjongg/layouts/chains.desktop
/usr/share/kmahjongg/layouts/chains.layout
/usr/share/kmahjongg/layouts/checkered.desktop
/usr/share/kmahjongg/layouts/checkered.layout
/usr/share/kmahjongg/layouts/chip.desktop
/usr/share/kmahjongg/layouts/chip.layout
/usr/share/kmahjongg/layouts/clubs.desktop
/usr/share/kmahjongg/layouts/clubs.layout
/usr/share/kmahjongg/layouts/columns.desktop
/usr/share/kmahjongg/layouts/columns.layout
/usr/share/kmahjongg/layouts/crab.desktop
/usr/share/kmahjongg/layouts/crab.layout
/usr/share/kmahjongg/layouts/cross.desktop
/usr/share/kmahjongg/layouts/cross.layout
/usr/share/kmahjongg/layouts/default.desktop
/usr/share/kmahjongg/layouts/default.layout
/usr/share/kmahjongg/layouts/dragon.desktop
/usr/share/kmahjongg/layouts/dragon.layout
/usr/share/kmahjongg/layouts/eagle.desktop
/usr/share/kmahjongg/layouts/eagle.layout
/usr/share/kmahjongg/layouts/enterprise.desktop
/usr/share/kmahjongg/layouts/enterprise.layout
/usr/share/kmahjongg/layouts/explosion.desktop
/usr/share/kmahjongg/layouts/explosion.layout
/usr/share/kmahjongg/layouts/flowers.desktop
/usr/share/kmahjongg/layouts/flowers.layout
/usr/share/kmahjongg/layouts/future.desktop
/usr/share/kmahjongg/layouts/future.layout
/usr/share/kmahjongg/layouts/galaxy.desktop
/usr/share/kmahjongg/layouts/galaxy.layout
/usr/share/kmahjongg/layouts/garden.desktop
/usr/share/kmahjongg/layouts/garden.layout
/usr/share/kmahjongg/layouts/girl.desktop
/usr/share/kmahjongg/layouts/girl.layout
/usr/share/kmahjongg/layouts/glade.desktop
/usr/share/kmahjongg/layouts/glade.layout
/usr/share/kmahjongg/layouts/grid.desktop
/usr/share/kmahjongg/layouts/grid.layout
/usr/share/kmahjongg/layouts/helios.desktop
/usr/share/kmahjongg/layouts/helios.layout
/usr/share/kmahjongg/layouts/hole.desktop
/usr/share/kmahjongg/layouts/hole.layout
/usr/share/kmahjongg/layouts/inner_circle.desktop
/usr/share/kmahjongg/layouts/inner_circle.layout
/usr/share/kmahjongg/layouts/key.desktop
/usr/share/kmahjongg/layouts/key.layout
/usr/share/kmahjongg/layouts/km.desktop
/usr/share/kmahjongg/layouts/km.layout
/usr/share/kmahjongg/layouts/labyrinth.desktop
/usr/share/kmahjongg/layouts/labyrinth.layout
/usr/share/kmahjongg/layouts/mask.desktop
/usr/share/kmahjongg/layouts/mask.layout
/usr/share/kmahjongg/layouts/maya.desktop
/usr/share/kmahjongg/layouts/maya.layout
/usr/share/kmahjongg/layouts/maze.desktop
/usr/share/kmahjongg/layouts/maze.layout
/usr/share/kmahjongg/layouts/mesh.desktop
/usr/share/kmahjongg/layouts/mesh.layout
/usr/share/kmahjongg/layouts/moth.desktop
/usr/share/kmahjongg/layouts/moth.layout
/usr/share/kmahjongg/layouts/order.desktop
/usr/share/kmahjongg/layouts/order.layout
/usr/share/kmahjongg/layouts/pattern.desktop
/usr/share/kmahjongg/layouts/pattern.layout
/usr/share/kmahjongg/layouts/penta.desktop
/usr/share/kmahjongg/layouts/penta.layout
/usr/share/kmahjongg/layouts/pillars.desktop
/usr/share/kmahjongg/layouts/pillars.layout
/usr/share/kmahjongg/layouts/pirates.desktop
/usr/share/kmahjongg/layouts/pirates.layout
/usr/share/kmahjongg/layouts/pyramid.desktop
/usr/share/kmahjongg/layouts/pyramid.layout
/usr/share/kmahjongg/layouts/rocket.desktop
/usr/share/kmahjongg/layouts/rocket.layout
/usr/share/kmahjongg/layouts/shield.desktop
/usr/share/kmahjongg/layouts/shield.layout
/usr/share/kmahjongg/layouts/spider.desktop
/usr/share/kmahjongg/layouts/spider.layout
/usr/share/kmahjongg/layouts/squares.desktop
/usr/share/kmahjongg/layouts/squares.layout
/usr/share/kmahjongg/layouts/squaring.desktop
/usr/share/kmahjongg/layouts/squaring.layout
/usr/share/kmahjongg/layouts/stadion.desktop
/usr/share/kmahjongg/layouts/stadion.layout
/usr/share/kmahjongg/layouts/stairs.desktop
/usr/share/kmahjongg/layouts/stairs.layout
/usr/share/kmahjongg/layouts/star.desktop
/usr/share/kmahjongg/layouts/star.layout
/usr/share/kmahjongg/layouts/star_ship.desktop
/usr/share/kmahjongg/layouts/star_ship.layout
/usr/share/kmahjongg/layouts/stax.desktop
/usr/share/kmahjongg/layouts/stax.layout
/usr/share/kmahjongg/layouts/swirl.desktop
/usr/share/kmahjongg/layouts/swirl.layout
/usr/share/kmahjongg/layouts/temple.desktop
/usr/share/kmahjongg/layouts/temple.layout
/usr/share/kmahjongg/layouts/the_door.desktop
/usr/share/kmahjongg/layouts/the_door.layout
/usr/share/kmahjongg/layouts/theatre.desktop
/usr/share/kmahjongg/layouts/theatre.layout
/usr/share/kmahjongg/layouts/time_tunnel.desktop
/usr/share/kmahjongg/layouts/time_tunnel.layout
/usr/share/kmahjongg/layouts/tomb.desktop
/usr/share/kmahjongg/layouts/tomb.layout
/usr/share/kmahjongg/layouts/totem.desktop
/usr/share/kmahjongg/layouts/totem.layout
/usr/share/kmahjongg/layouts/tower.desktop
/usr/share/kmahjongg/layouts/tower.layout
/usr/share/kmahjongg/layouts/triangle.desktop
/usr/share/kmahjongg/layouts/triangle.layout
/usr/share/kmahjongg/layouts/up&down.desktop
/usr/share/kmahjongg/layouts/up&down.layout
/usr/share/kmahjongg/layouts/well.desktop
/usr/share/kmahjongg/layouts/well.layout
/usr/share/kxmlgui5/kmahjongg
/usr/share/kxmlgui5/kmahjongg/kmahjonggui.rc
/usr/share/licenses/kmahjongg
/usr/share/licenses/kmahjongg/COPYING
/usr/share/licenses/kmahjongg/COPYING.DOC
/usr/share/locale/ar/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/bg/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/bs/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/ca/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/cs/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/da/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/de/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/el/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/en_GB/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/eo/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/es/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/et/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/eu/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/fa/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/fi/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/fr/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/ga/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/gl/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/he/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/hi/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/hr/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/hu/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/id/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/is/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/it/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/ja/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/kk/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/km/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/ko/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/lt/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/lv/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/mr/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/nb/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/nds/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/nl/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/nn/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/pa/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/pl/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/pt/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/pt_BR/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/ro/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/ru/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/sk/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/sl/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/sr/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/sv/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/tr/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/ug/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/uk/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/wa/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/zh_CN/LC_MESSAGES/kmahjongg.mo
/usr/share/locale/zh_TW/LC_MESSAGES/kmahjongg.mo
/usr/share/metainfo/org.kde.kmahjongg.appdata.xml
/usr/share/qlogging-categories5/kmahjongg.categories

References

Summary

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