How To Install black-hole-solver on Fedora 36

In this tutorial we learn how to install black-hole-solver in Fedora 36. black-hole-solver is The Black Hole Solitaire Solver Executable

Introduction

In this tutorial we learn how to install black-hole-solver on Fedora 36.

What is black-hole-solver

This is a solver, written in C, to solve the Solitaire variants “Golf”, “Black Hole” and “All in a Row”. It provides a portable C library, and a command line application that after being fed with a layout will emit the cards to move.

We can use yum or dnf to install black-hole-solver on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install black-hole-solver.

Install black-hole-solver on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install black-hole-solver using dnf by running the following command:

sudo dnf -y install black-hole-solver

Install black-hole-solver on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install black-hole-solver using yum by running the following command:

sudo yum -y install black-hole-solver

How To Uninstall black-hole-solver on Fedora 36

To uninstall only the black-hole-solver package we can use the following command:

sudo dnf remove black-hole-solver

black-hole-solver Package Contents on Fedora 36

/usr/bin/black-hole-solve
/usr/lib/.build-id
/usr/lib/.build-id/97
/usr/lib/.build-id/97/d8854ab8742f5adb3af92ece3772222bb1edb9
/usr/share/doc/black-hole-solver
/usr/share/doc/black-hole-solver/NEWS.asciidoc
/usr/share/doc/black-hole-solver/README.md
/usr/share/licenses/black-hole-solver
/usr/share/licenses/black-hole-solver/COPYING
/usr/share/man/man6/black-hole-solve.6.gz

References

Summary

In this tutorial we learn how to install black-hole-solver on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).