Ask Your Question

Updating Sage in Windows 10

asked 2019-06-20 17:24:07 +0100

The Sage Installation Guide Release 8.7 seems to assume that one installs Sage in Windows using Cygwin, in particular regarding upgrading. However, I installed Sage on Windows 10 from the bin files without installing Cygwin at all. How should I update both Sage and the packages?

I favour an easy way that does not make me uninstall-reinstall.

edit retag flag offensive close merge delete



What do you mean "from the bin file"? If you downloaded the installer from then you did install SageMath on Cygwin. Concerning update on Windows, I don't think that there is anything easier for now than uninstall-reinstall.

vdelecroix gravatar imagevdelecroix ( 2019-06-23 18:13:28 +0100 )edit

@vdelecroix I don't think that is correct. I downloaded bin files here and then simply ran the installation file. I do not have cygwin installed on my computer. If sagemath installs cygwin and runs over it, it does it in a completely transparent way. I cannot even find a cygwin folder in my computer.

Jesus Martinez Garcia gravatar imageJesus Martinez Garcia ( 2019-06-24 17:15:05 +0100 )edit

I still believe that you have installed cygwin! You should check for the presence of c:\program files\cygwin.

vdelecroix gravatar imagevdelecroix ( 2019-06-24 21:27:53 +0100 )edit

@vdelecroix It is not there. I tell you, I have done a search for cygwin and there is not such directory in the whole disk.

Jesus Martinez Garcia gravatar imageJesus Martinez Garcia ( 2019-06-25 02:37:32 +0100 )edit

@vdelecroix's first comment is correct. The SageMath installer for Windows includes its own copy of cygwin built-in, including more-or-less exactly the dependencies it needs to run and nothing more. I'm not sure why you're specifically trying to "find Cygwin", but as @vdelecroix there is unfortunately not yet a specific "upgrade" functionality. You can have multiple versions installed side-by-side, and just uninstall the ones you're not using anymore.

Iguananaut gravatar imageIguananaut ( 2019-07-02 14:43:11 +0100 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2020-01-31 18:25:24 +0100

Iguananaut gravatar image

I forgot about this question, but just as a quick follow-up Jesus and I met last week at the University of Essex and I walked him through building Sage on Windows/Cygwin using the instructions at:

As we noted at the time, one bit of information currently missing from those instructions is to set:

export FFLAS_FFPACK_CONFIGURE=--disable-openmp

This is just to work around a slight defect in the build system that should get fixed at some point...

edit flag offensive delete link more



Meant mingw

shinster gravatar imageshinster ( 2020-08-01 13:40:39 +0100 )edit

answered 2020-01-26 06:57:19 +0100

Not cygwin, but mintty. C:\Users{username}\AppData\Local\SageMath 8.7 Sagemath does not run natively in Windows.

edit flag offensive delete link more



Hi, I'm not sure what you intended exactly by this answer but it appears to be misleading. Sage on Windows uses Cygwin. MinTTY is just a terminal emulator that is included in Cygwin, and is also the terminal emulator used by default when running Sage for Windows.

Iguananaut gravatar imageIguananaut ( 2020-01-31 18:27:10 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-06-20 17:24:07 +0100

Seen: 1,984 times

Last updated: Aug 01 '20