SageMath is an open-source alternative to Mathematica. I'll be using it while studying math. This thread will discuss issues relating to installing SageMath on Linux and Windows (wsl).
Status
- Installed a binary image of SageMath on wsl.
- Built SageMath from sources on Ubuntu.
- Failed twice to build SageMath from sources on wsl.
- Installed Leo on wsl, but Leo does not work.
- Upgraded Windows 11 from "Home" to "Pro," attempting to fix Leo. Problems remain.
Summary
- It's convenient to use SageMath on Windows via wsl.
- For now, Leo does not need to work in wsl.
Leo does, of course, work on the real Ubuntu.
- I'll install Mint on wsl, hoping to get Leo working there.
Thanks to the usual suspects for their help and encouragement!
Edward
Creating virtual machines with VirtualBox is another way to get a Linux OS to run Leo/Sagemath on. They never run quite as smoothly as when installed directly on the computer but they can be very workable.
BTW, I consistently notice that LeoPyRef opens *much* more quickly on Linux than Windows. I wonder if anyone else has noticed this. It will be true for other outlines but LeoPyRef is the biggest and most complex outline that most of us will be opening. On the same computer:LeoPyRef linux VM: read outline in 0.86 secondsLeoPyRef Windows: read outline in 6.52 seconds
On Mon, Oct 14, 2024 at 10:00 AM Thomas Passin <tbp1...@gmail.com> wrote:Creating virtual machines with VirtualBox is another way to get a Linux OS to run Leo/Sagemath on. They never run quite as smoothly as when installed directly on the computer but they can be very workable.Thanks for the tip. I'll look into it.
BTW, I consistently notice that LeoPyRef opens *much* more quickly on Linux than Windows. I wonder if anyone else has noticed this. It will be true for other outlines but LeoPyRef is the biggest and most complex outline that most of us will be opening. On the same computer:
LeoPyRef linux VM: OpenSUSE read outline in 0.86 secondsLeoPyRef Windows 10: read outline in 6.52 seconds
Iirc, LeoPyRef loads in approximately the same time on Windows 11 and Ubuntu.Window: about 2 sec.Ubuntu: not likely much faster.
If you want to try going with VirtualBox, I can give you some coaching to ease the way.
Possibly helpful:
Edward,I needed to install libxcb-cursor0 for both wsl Ubuntu 22.04 and wsl openSUSE-Tumbleweed.