This guide explains how to install SageMath on a WSL (Windows Subsystem for Linux) environment running Ubuntu 22.04.
Open your WSL terminal and run:
sudo apt update && sudo apt upgrade -ySageMath is available in the Ubuntu repositories, so installation is simple:
sudo apt install sagemath -yOnce the installation is complete, you can launch SageMath by running.
We have two protocols to execute: Kyber and Dilithium
To execute the benchmarking of kyber, follow the next steps:
cd kyber
sage results.sageTo execute Dilithium, follow the next steps:
cd Dilithium
sage Dilithium.sage