TurboKnots is a powerful tool for working with knots and knot theory. This guide provides instructions for installing TurboKnots on Linux, Windows, and macOS systems. By following these steps, you can set up TurboKnots on your local machine and access its full range of features.
To Install Ubuntu Linux on Windows:
wsl --install -d Ubuntu
.To Install Fonts Used by TurboKnots:
fonts-master
folder inside the extracted folder. If it is in your Downloads folder, type: cd ${HOME}\Downloads\fonts-master\fonts-master
.Set-ExecutionPolicy Bypass
, and press Y for yes..\install.ps1
.Set-ExecutionPolicy Default
and press Y for yes.TurboKnots can be run on a Macbook with an Intel chip by using a virtual machine from Multipass. You can install Multipass by running the following commands:
brew install multipass
multipass find
multipass launch 22.04 -n primary -c 2 -m 4G -d 1G
multipass shell
More details can be found through the following link: How to run Ubuntu 22.04 VMs on Apple M1 ARM-based systems for free (This link is for Intel Macs, not ARM Macs).
You do not need to install a Desktop environment (no GUI is needed), so the part for setting up graphical mode is optional and can be ignored for running TurboKnots.
Since the architecture of a Macbook with Apple Silicon chip is not x86-64, you will need to install an emulator instead of a virtual machine. Please assign at least 3 GB of hard disk space for the emulator to avoid any issues.
Note: At the Storage Configuration step, the default option is to use the entire
disk. This refers to the virtual disk you created, not the actual hard disk. Confirm by checking
if it shows something like dev/vda local disk
. It will erase everything in the
virtual disk, so back up any files if necessary.
Note: You might see the following error message, but you can ignore it. It will disappear after about 20 seconds:
BdsDxe: failed to load Boot0001 UEFI QEMU DVD-ROM QM00001 from PciRoot (0x0)/Pci (0x1F,0x2)/Sata(0x0,0xFFFF,0x0): Not Found
Another Note: If you see the message below, simply press the return button on your keyboard to start the Ubuntu login:
Ubuntu 22.04.2 LTS ubuntuserver2204 tty1
Before running the installation command, ensure the following tools are installed on your Linux system:
sudo apt-get install wget
sudo dnf install wget
sudo pacman -S wget
sudo apt-get install tar
sudo dnf install tar
sudo pacman -S tar
sudo apt-get install fpc
sudo dnf install fpc
sudo pacman -S fpc
Once all of this is done, you can run the following command to download and set up TurboKnots:
rm TurboKnots.tar.gz*; wget https://cariboutests.com/games/knots/TurboKnots.tar.gz; tar xfz TurboKnots.tar.gz
rm TurboKnots.tar.gz*
: This removes any files matching the pattern
TurboKnots.tar.gz*
to clear out old versions of the TurboKnots archive.
wget https://cariboutests.com/games/knots/TurboKnots.tar.gz
: This downloads the
TurboKnots archive TurboKnots.tar.gz
from the specified URL.tar xfz TurboKnots.tar.gz
: This extracts the contents of the downloaded archive.
Specifically:
x
– Extract files from the archive.f
– Use the specified file (TurboKnots.tar.gz
).z
– Decompress the file (since it is compressed with gzip).By following these steps, you can ensure that you're working with the latest version of TurboKnots.
Once TurboKnots is installed, you can start using the program by running the executable. Follow these steps to execute TurboKnots:
cd
command to change to
the directory where TurboKnots was installed. For example:
cd /path/to/turboknots
./TurboKnots
Ensure that you have the necessary permissions to execute the program. If you encounter any permission
issues, you may need to adjust the file permissions using:
chmod +x TurboKnots
With TurboKnots running, you can now begin working with knot manipulations and calculations as needed.
While the TurboKnots web interface provides a convenient way to use a portion of TurboKnots features, the Linux TurboKnots program includes some additional features, such as:
Loading Options:If you require these features, consider running TurboKnots directly on your local machine using the installation guide provided above.