I was trying to install SageMath using WSL, mostly to learn how it is done. Alas, the latest available Ubuntu distribution for WSL seems to be 20.04, which comes with SageMath 9.0. I have 9.2 running on Windows, so no advantage to that.

I did find Ubuntu 20.04 binaries for SageMath 9.4 in http://mirrors.mit.edu/sage/linux/64bit/index.html. I downloaded and unpacked without problems, at which time the instructions say to switch to the SageMath directory and type ./sage. That gives an error:

/usr/bin/env: ‘python’: No such file or directory
Error running the script 'relocate-once.py'.

Now what?

Fernando

On 2/27/2022 3:46 PM, Matthias Koeppe wrote:
+1 on adding info on how to install Linux distributions with up-to-date binary packages of Sage to our installation guide. See https://trac.sagemath.org/ticket/31485

(The updated installation guide, preview at https://6212659123a9467b3cb0cd07--sagemath-tobias.netlify.app/installation/index.html already covers WSL but does not mention specific distributions.)

On Sunday, February 27, 2022 at 10:11:40 AM UTC-8 fqgo...@colby.edu wrote:

    I don’t see archlinux in the Microsoft store.

    Fernando

    On Sun, Feb 27, 2022 at 10:05 AM Dima Pasechnik <dim...@gmail.com>
    wrote:



        On Sun, 27 Feb 2022, 14:37 G. M.-S., <list...@gmail.com> wrote:


            Thanks, Samuel.

            I think it is a pity there is nothing more straightforward…

            But you will tell me (to look for somebody) to do it.


        some Linux distributions have pretty much up to date Sage
        binary packages.

        E.g. archlinux has Sage 9.5. Thus, having it installed as WSL2
        (cf
        https://gist.github.com/ld100/3376435a4bb62ca0906b0cff9de4f94b)
         should be getting you Sage 9.5 quite quickly.



            Guillermo

            On Sun, 27 Feb 2022 at 15:28, slelievre
            <samuel....@gmail.com> wrote:

                The Cygwin-based Sage-Windows installer has not been
                released
                for SageMath 9.4 or SageMath 9.5 yet.

                To get the latest version of Sage running on Windows,
                one option
                is to activate Windows Subsystem for Linux (also known
                as WSL),
                select WSL2, and install any Linux distribution there,
                then follow
                the Linux installation guide.

-- You received this message because you are subscribed to
            the Google Groups "sage-support" group.
            To unsubscribe from this group and stop receiving emails
            from it, send an email to sage-support...@googlegroups.com.
            To view this discussion on the web visit
            
https://groups.google.com/d/msgid/sage-support/CANnG188whX6fJTbj1qdPvB-rdeNVm3H_mNmpC3mohE%2B7tM9rMw%40mail.gmail.com
            
<https://groups.google.com/d/msgid/sage-support/CANnG188whX6fJTbj1qdPvB-rdeNVm3H_mNmpC3mohE%2B7tM9rMw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- You received this message because you are subscribed to the
        Google Groups "sage-support" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to sage-support...@googlegroups.com.

        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/sage-support/CAAWYfq00MjiCDk9Dd8WHDc55%2Bc%3D84PFQLEmyN8VwaD2TiiEVcg%40mail.gmail.com
        
<https://groups.google.com/d/msgid/sage-support/CAAWYfq00MjiCDk9Dd8WHDc55%2Bc%3D84PFQLEmyN8VwaD2TiiEVcg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- ==================================================================
    Fernando Q. Gouvea
    Dept of Mathematics and Statistics http://www.colby.edu/~fqgouvea
    Colby College
    Mayflower Hill 5836
    Waterville, ME 04901

    A training in mathematics is a prerequisite today for work in almost
    any scientific field, but even for those who are not going to become
    scientists, it is essential because, if it is only through speech that
    we can understand what freedom means, only through mathematics
    can we understand what necessity means.
      -- W. H. Auden


--
You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/c5091c41-9776-4efe-9c6f-321217ed62d0n%40googlegroups.com <https://groups.google.com/d/msgid/sage-support/c5091c41-9776-4efe-9c6f-321217ed62d0n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
=============================================================
Fernando Q. Gouveahttp://www.colby.edu/~fqgouvea
Carter Professor of Mathematics
Dept. of Mathematics
Colby College
5836 Mayflower Hill
Waterville, ME 04901

The reason I never liked being called Professor is that it is
synonymous with academic, a word that over the past forty years has
become synonymous with ridiculous.
  -- Joseph Epstein, in "Don't Call Me Ishmael"

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/b17e9093-7ae2-5521-7139-d66e3e2a3d24%40colby.edu.

Reply via email to