Ask Your Question

Updating Sage in Windows 10

asked 2019-06-20 10:24:07 -0500

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 11:13:28 -0500 )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 10:15:05 -0500 )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 14:27:53 -0500 )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-24 19:37:32 -0500 )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 07:43:11 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2020-01-31 11:25:24 -0500

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 06:40:39 -0500 )edit

answered 2020-01-25 23:57:19 -0500

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 11:27:10 -0500 )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 10:24:07 -0500

Seen: 542 times

Last updated: Aug 01