I've been having troubles doing this. I tried to download sources install the necessary deps and compile it from source, but make errored and I'd prefer installing sagemath otherwise too. sudo apt-get install sagemath
seems like a good way to install it, however the latest version I get by doing sudo apt-get install sagemath
on WSL 18.04 is sagemath 8.1-7ubuntu1
. I also tried to do sudo apt-get install sagemath=8.4
, but I received the following error: E: Version '8.4' for 'sagemath' was not found. How do I install the latest sagemath on Ubuntu 18.04 with
apt-get install` command?