Installing Sagemath 8.4 on WSL Ubuntu 18.04
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?
You may try to
dist-upgrade
WSL's Ubuntu to 18.10 : maybe this version has a more recent Sagemath...I think that might indeed be the root cause for this, but 18.04 is LTS and upgrading to 18.10 seems to be very unnecessary to install Sage8.4. Who maintains the linux packages?
We are in the process of updating the sagemath package for Debian, probably 8.4 or 8.5, or possibly something later depending on how it all shakes out. Once sagemath in Debian is updated it will probably also be updated in a future Ubuntu release. But the old sagemath package in Ubuntu is somewhat unmaintained. I also have no idea how well it actually works in WSL.