How To Install rubiks on Fedora 34

rubiks is Rubiks cube solvers

Introduction

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

What is rubiks

This package contains several different Rubik’s cube solvers. They can be invoked from the command line or used through sagemath. Michael Reid (GPLv2+) - optimal - uses many pre-computed tables to find an optimal solution to the 3x3x3 Rubik’s cube Dik T. Winter (MIT) - dikcube - uses Kociemba’s algorithm to iteratively find a short solution to the 3x3x3 Rubik’s cube - size222 - solves a 2x2x2 Rubik’s cube Eric Dietz (GPL+) - cu2 - A fast, non-optimal 2x2x2 solver - cubex - A fast, non-optimal 3x3x3 solver - mcube - A fast, non-optimal 4x4x4 solver

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

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

sudo dnf -y install rubiks

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

sudo yum -y install rubiks

How To Uninstall rubiks on Fedora 34

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

sudo dnf remove rubiks

rubiks Package Contents on Fedora 34

/usr/bin/rubiks_cu2
/usr/bin/rubiks_cubex
/usr/bin/rubiks_dikcube
/usr/bin/rubiks_mcube
/usr/bin/rubiks_optimal
/usr/bin/rubiks_size222
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/1b776c5480ed1efd706d85e0c6255db414a7e5
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/fb931e7d93b5367794fa11f397d5bb0b807509
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/c9dcfc7d1fd03c6e75eff6450d759b59a5fece
/usr/lib/.build-id/72
/usr/lib/.build-id/72/bf11d1e5eedb7238ce441a3c0f49107857cc8b
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/2d656a3e454c5ee291b6987694b536d8339e3d
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/5b83c8499acb11b3d32500a2e1b6cdb19382e6
/usr/share/doc/rubiks
/usr/share/doc/rubiks/cu2-readme.txt
/usr/share/doc/rubiks/cubex-readme.txt
/usr/share/doc/rubiks/dik-Description
/usr/share/doc/rubiks/dik-README
/usr/share/doc/rubiks/mcube-readme.txt
/usr/share/doc/rubiks/reid-README
/usr/share/licenses/rubiks
/usr/share/licenses/rubiks/dietz-license.txt
/usr/share/licenses/rubiks/dik-license.txt
/usr/share/licenses/rubiks/reid-license.txt
/usr/share/man/man1/rubiks_cubex.1.gz
/usr/share/man/man1/rubiks_dikcube.1.gz
/usr/share/man/man1/rubiks_optimal.1.gz

References

Summary

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