rubiks_cubex command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rubiks_cubex: command not found
or when using sudo you get the following error message
sudo: rubiks_cubex: command not found
Solutions to rubiks_cubex: command not found
How To Fix rubiks_cubex: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rubiks_cubex is provided by rubiks package.
rubiks is:
This package contains several different Rubik’s cube solvers, either useful directly on the command-line or through sagemath.
Michael Reid’s “optimal” uses pre-computed tables to find an optimal solution to the 3x3x3 Rubik’s cube.
Dik T.Winter’s “dikcube” uses Kociemba’s algorithm to iteratively find a short solution to the 3x3x3 cube.
Eric Dietz’ “cubex” has fast non-optimal solver for the 3x3x3 cube.
To fix this problem, we can install more using the command below.
sudo apt-get -y install rubiks
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rubiks.
sudo apt -y install rubiks
Or if you have aptitude installed you can use the following command.
sudo aptitude install rubiks
Summary
In this tutorial we learn how to fix rubiks_cubex command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.