How To Install gnubg on Fedora 34

gnubg is A backgammon game and analyser

Introduction

In this tutorial we learn how to install gnubg on Fedora 34.

What is gnubg

GNU Backgammon is software for playing and analysing backgammon positions, games and matches. It’s based on a neural network. Although it already plays at a very high level, it’s still work in progress. You may play GNU Backgammon using the command line or a graphical interface

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

Install gnubg on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install gnubg using dnf by running the following command:

sudo dnf -y install gnubg

Install gnubg on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install gnubg using yum by running the following command:

sudo yum -y install gnubg

How To Uninstall gnubg on Fedora 34

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

sudo dnf remove gnubg

gnubg Package Contents on Fedora 34

/usr/bin/bearoffdump
/usr/bin/gnubg
/usr/bin/makebearoff
/usr/bin/makehyper
/usr/bin/makeweights
/usr/lib/.build-id
/usr/lib/.build-id/86
/usr/lib/.build-id/86/5f9a5da6e9da3bc4579505f6813316d5cc8682
/usr/lib/.build-id/88
/usr/lib/.build-id/88/39d7309280abcbbfb19ef762569d0abd10cf5e
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/e35150c0405a06d3e8673f9bd82602ba4d534b
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/562ca96e2d996087f9ddd03d95baada782b93f
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/88ce576268b5ff30c18a664a0dab067d8f063d
/usr/share/applications/gnubg.desktop
/usr/share/doc/gnubg
/usr/share/doc/gnubg/AUTHORS
/usr/share/doc/gnubg/ChangeLog
/usr/share/doc/gnubg/README
/usr/share/doc/gnubg/allabout.html
/usr/share/doc/gnubg/allabout.pdf
/usr/share/doc/gnubg/gnubg.html
/usr/share/doc/gnubg/gnubg.pdf
/usr/share/doc/gnubg/images
/usr/share/doc/gnubg/images/1540d81e.png
/usr/share/doc/gnubg/images/16d7944c.png
/usr/share/doc/gnubg/images/1805dc7d.png
/usr/share/doc/gnubg/images/20bc52ca.png
/usr/share/doc/gnubg/images/20d56757.png
/usr/share/doc/gnubg/images/234924dc.png
/usr/share/doc/gnubg/images/26e34ea5.png
/usr/share/doc/gnubg/images/29c6aa57.png
/usr/share/doc/gnubg/images/2d9edbab.png
/usr/share/doc/gnubg/images/2dd86698.png
/usr/share/doc/gnubg/images/2e6307ae.png
/usr/share/doc/gnubg/images/3117171e.png
/usr/share/doc/gnubg/images/33d3487.png
/usr/share/doc/gnubg/images/34740886.png
/usr/share/doc/gnubg/images/3658e0e8.png
/usr/share/doc/gnubg/images/38371a4c.png
/usr/share/doc/gnubg/images/3b2e620f.png
/usr/share/doc/gnubg/images/3cb4011e.png
/usr/share/doc/gnubg/images/4332f3e4.png
/usr/share/doc/gnubg/images/48d8024f.png
/usr/share/doc/gnubg/images/4aad0142.png
/usr/share/doc/gnubg/images/4b13a0e7.png
/usr/share/doc/gnubg/images/4bd6c15f.png
/usr/share/doc/gnubg/images/4e43baf8.png
/usr/share/doc/gnubg/images/51394706.png
/usr/share/doc/gnubg/images/5308d35c.png
/usr/share/doc/gnubg/images/53ce0fa6.png
/usr/share/doc/gnubg/images/5412263e.png
/usr/share/doc/gnubg/images/58c77df2.png
/usr/share/doc/gnubg/images/5ada89e8.png
/usr/share/doc/gnubg/images/60df14d2.png
/usr/share/doc/gnubg/images/66ed48bd.png
/usr/share/doc/gnubg/images/6a6ae1b7.png
/usr/share/doc/gnubg/images/6e75aa33.png
/usr/share/doc/gnubg/images/723e49fc.png
/usr/share/doc/gnubg/images/74a66417.png
/usr/share/doc/gnubg/images/78be1dd5.png
/usr/share/doc/gnubg/images/analysepane.png
/usr/share/doc/gnubg/images/analysesettings.png
/usr/share/doc/gnubg/images/appearence.png
/usr/share/doc/gnubg/images/be5c848.png
/usr/share/doc/gnubg/images/clearboard.png
/usr/share/doc/gnubg/images/cubebuttons.png
/usr/share/doc/gnubg/images/cubeful-ex1.png
/usr/share/doc/gnubg/images/cubeful-ex2.png
/usr/share/doc/gnubg/images/cubefuleq-ex1.png
/usr/share/doc/gnubg/images/doubleline.png
/usr/share/doc/gnubg/images/e613071.png
/usr/share/doc/gnubg/images/evalsetting.png
/usr/share/doc/gnubg/images/ff1f1de.png
/usr/share/doc/gnubg/images/gamerecord.png
/usr/share/doc/gnubg/images/gtkinterface.png
/usr/share/doc/gnubg/images/hintcubewindow.png
/usr/share/doc/gnubg/images/hintwindow.png
/usr/share/doc/gnubg/images/initialboard.png
/usr/share/doc/gnubg/images/m1921b4.png
/usr/share/doc/gnubg/images/m19f9a2cc.png
/usr/share/doc/gnubg/images/m1bd07579.png
/usr/share/doc/gnubg/images/m1e2a8a3a.png
/usr/share/doc/gnubg/images/m20a4701e.png
/usr/share/doc/gnubg/images/m215edfe5.png
/usr/share/doc/gnubg/images/m22b92249.png
/usr/share/doc/gnubg/images/m23e0471c.png
/usr/share/doc/gnubg/images/m259fcca6.png
/usr/share/doc/gnubg/images/m2698978a.png
/usr/share/doc/gnubg/images/m2759b1ca.png
/usr/share/doc/gnubg/images/m2a94f4ab.png
/usr/share/doc/gnubg/images/m2b86c3ea.png
/usr/share/doc/gnubg/images/m2c28ffc2.png
/usr/share/doc/gnubg/images/m2c37a1e7.png
/usr/share/doc/gnubg/images/m30dc13f6.png
/usr/share/doc/gnubg/images/m3a7e4f1b.png
/usr/share/doc/gnubg/images/m3eb29fd9.png
/usr/share/doc/gnubg/images/m3fb550fb.png
/usr/share/doc/gnubg/images/m3fd7ee24.png
/usr/share/doc/gnubg/images/m4149eeab.png
/usr/share/doc/gnubg/images/m46788d89.png
/usr/share/doc/gnubg/images/m4796afa7.png
/usr/share/doc/gnubg/images/m4ed24f10.png
/usr/share/doc/gnubg/images/m518778bb.png
/usr/share/doc/gnubg/images/m57625db1.png
/usr/share/doc/gnubg/images/m5781f59d.png
/usr/share/doc/gnubg/images/m5878543.png
/usr/share/doc/gnubg/images/m60d5424b.png
/usr/share/doc/gnubg/images/m634daa5.png
/usr/share/doc/gnubg/images/m68ad25e2.png
/usr/share/doc/gnubg/images/m6e32590b.png
/usr/share/doc/gnubg/images/m6e43baca.png
/usr/share/doc/gnubg/images/m6fc19da0.png
/usr/share/doc/gnubg/images/m707a2772.png
/usr/share/doc/gnubg/images/m72075f4e.png
/usr/share/doc/gnubg/images/m76e2d010.png
/usr/share/doc/gnubg/images/m7bf4f29.png
/usr/share/doc/gnubg/images/m7cee1bfc.png
/usr/share/doc/gnubg/images/m93f2ca3.png
/usr/share/doc/gnubg/images/mb4b1284.png
/usr/share/doc/gnubg/images/md9b1995.png
/usr/share/doc/gnubg/images/mgcd.png
/usr/share/doc/gnubg/images/mgtp.png
/usr/share/doc/gnubg/images/movefilter1.png
/usr/share/doc/gnubg/images/movefilter2.png
/usr/share/doc/gnubg/images/movefilter3.png
/usr/share/doc/gnubg/images/movefilterex.png
/usr/share/doc/gnubg/images/mptp.png
/usr/share/doc/gnubg/images/newbox.png
/usr/share/doc/gnubg/images/rolldice.png
/usr/share/doc/gnubg/images/rulfig1.png
/usr/share/doc/gnubg/images/rulfig2.png
/usr/share/doc/gnubg/images/rulfig3.png
/usr/share/doc/gnubg/images/rulfig4.png
/usr/share/doc/gnubg/images/rulfig5.png
/usr/share/doc/gnubg/images/setdice.png
/usr/share/doc/gnubg/images/setturn.png
/usr/share/doc/gnubg/images/tutor.png
/usr/share/doc/gnubg/images/tutorwarning.png
/usr/share/gnubg
/usr/share/gnubg/boards.xml
/usr/share/gnubg/flags
/usr/share/gnubg/flags/czech.png
/usr/share/gnubg/flags/denmark.png
/usr/share/gnubg/flags/england.png
/usr/share/gnubg/flags/france.png
/usr/share/gnubg/flags/germany.png
/usr/share/gnubg/flags/greece.png
/usr/share/gnubg/flags/iceland.png
/usr/share/gnubg/flags/italy.png
/usr/share/gnubg/flags/japan.png
/usr/share/gnubg/flags/romania.png
/usr/share/gnubg/flags/russia.png
/usr/share/gnubg/flags/spain.png
/usr/share/gnubg/flags/turkey.png
/usr/share/gnubg/flags/usa.png
/usr/share/gnubg/fonts
/usr/share/gnubg/fonts/COPYRIGHT.TXT.gz
/usr/share/gnubg/fonts/Vera.ttf
/usr/share/gnubg/fonts/VeraBd.ttf
/usr/share/gnubg/fonts/VeraSeBd.ttf
/usr/share/gnubg/gnubg.css
/usr/share/gnubg/gnubg.gtkrc
/usr/share/gnubg/gnubg.sql
/usr/share/gnubg/gnubg.wd
/usr/share/gnubg/gnubg.weights
/usr/share/gnubg/gnubg_os0.bd
/usr/share/gnubg/gnubg_ts0.bd
/usr/share/gnubg/met
/usr/share/gnubg/met/Kazaross-XG2.xml
/usr/share/gnubg/met/README
/usr/share/gnubg/met/Rockwell-Kazaross.xml
/usr/share/gnubg/met/catalog.dtd
/usr/share/gnubg/met/catalog.xml
/usr/share/gnubg/met/g11.xml
/usr/share/gnubg/met/jac050.xml
/usr/share/gnubg/met/jac100.xml
/usr/share/gnubg/met/jacobs.xml
/usr/share/gnubg/met/mec.xml
/usr/share/gnubg/met/mec26.xml
/usr/share/gnubg/met/met.dtd
/usr/share/gnubg/met/met.xsl
/usr/share/gnubg/met/ortega.xml
/usr/share/gnubg/met/snowie.xml
/usr/share/gnubg/met/woolsey.xml
/usr/share/gnubg/met/zadeh.xml
/usr/share/gnubg/pixmaps/gnubg-big.png
/usr/share/gnubg/scripts
/usr/share/gnubg/scripts/batch.py
/usr/share/gnubg/scripts/batch_win.py
/usr/share/gnubg/scripts/database.py
/usr/share/gnubg/scripts/db_import.py
/usr/share/gnubg/scripts/gnubg.py
/usr/share/gnubg/scripts/matchseries.py
/usr/share/gnubg/scripts/query_player.sh
/usr/share/gnubg/sounds
/usr/share/gnubg/sounds/chequer.wav
/usr/share/gnubg/sounds/dance.wav
/usr/share/gnubg/sounds/double.wav
/usr/share/gnubg/sounds/drop.wav
/usr/share/gnubg/sounds/fanfare.wav
/usr/share/gnubg/sounds/gameover.wav
/usr/share/gnubg/sounds/haere-ra.wav
/usr/share/gnubg/sounds/matchover.wav
/usr/share/gnubg/sounds/move.wav
/usr/share/gnubg/sounds/resign.wav
/usr/share/gnubg/sounds/roll.wav
/usr/share/gnubg/sounds/take.wav
/usr/share/gnubg/textures
/usr/share/gnubg/textures.txt
/usr/share/gnubg/textures/ChangeLog
/usr/share/gnubg/textures/EarthSand01.png
/usr/share/gnubg/textures/Grass01.png
/usr/share/gnubg/textures/Makefile
/usr/share/gnubg/textures/Makefile.am
/usr/share/gnubg/textures/Makefile.in
/usr/share/gnubg/textures/Water01.png
/usr/share/gnubg/textures/alder.png
/usr/share/gnubg/textures/ash.png
/usr/share/gnubg/textures/berch.png
/usr/share/gnubg/textures/checkered.png
/usr/share/gnubg/textures/felt.png
/usr/share/gnubg/textures/hinge.png
/usr/share/gnubg/textures/hinge2.png
/usr/share/gnubg/textures/logo.png
/usr/share/gnubg/textures/maple.png
/usr/share/gnubg/textures/marble.png
/usr/share/gnubg/textures/oak.png
/usr/share/gnubg/textures/pine.png
/usr/share/gnubg/textures/pine2.png
/usr/share/gnubg/textures/redwood.png
/usr/share/gnubg/textures/stain.png
/usr/share/gnubg/textures/suede.png
/usr/share/gnubg/textures/swirl.png
/usr/share/gnubg/textures/wavesand01.png
/usr/share/gnubg/textures/wood.png
/usr/share/icons/hicolor/16x16/apps/gnubg.png
/usr/share/icons/hicolor/22x22/apps/gnubg.png
/usr/share/icons/hicolor/24x24/apps/gnubg.png
/usr/share/icons/hicolor/32x32/apps/gnubg.png
/usr/share/icons/hicolor/48x48/apps/gnubg.png
/usr/share/licenses/gnubg
/usr/share/licenses/gnubg/COPYING
/usr/share/locale/cs/LC_MESSAGES/gnubg.mo
/usr/share/locale/da/LC_MESSAGES/gnubg.mo
/usr/share/locale/de/LC_MESSAGES/gnubg.mo
/usr/share/locale/el/LC_MESSAGES/gnubg.mo
/usr/share/locale/en_US/LC_MESSAGES/gnubg.mo
/usr/share/locale/es/LC_MESSAGES/gnubg.mo
/usr/share/locale/fr/LC_MESSAGES/gnubg.mo
/usr/share/locale/is/LC_MESSAGES/gnubg.mo
/usr/share/locale/it/LC_MESSAGES/gnubg.mo
/usr/share/locale/ja/LC_MESSAGES/gnubg.mo
/usr/share/locale/ro/LC_MESSAGES/gnubg.mo
/usr/share/locale/ru/LC_MESSAGES/gnubg.mo
/usr/share/locale/tr/LC_MESSAGES/gnubg.mo
/usr/share/man/man6/bearoffdump.6.gz
/usr/share/man/man6/gnubg.6.gz
/usr/share/man/man6/makebearoff.6.gz
/usr/share/man/man6/makehyper.6.gz
/usr/share/man/man6/makeweights.6.gz

References

Summary

In this tutorial we learn how to install gnubg on Fedora 34 using yum and dnf.