Ask Your Question
0

Updating Sage in Windows 10

asked 5 years ago

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.

Preview: (hide)

Comments

1

What do you mean "from the bin file"? If you downloaded the installer from https://github.com/sagemath/sage-wind... 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 ( 5 years ago )

@vdelecroix I don't think that is correct. I downloaded bin files here http://www.mirrorservice.org/sites/ww... 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 ( 5 years ago )

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

vdelecroix gravatar imagevdelecroix ( 5 years ago )

@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 ( 5 years ago )
3

@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 ( 5 years ago )

2 Answers

Sort by » oldest newest most voted
2

answered 5 years ago

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: https://trac.sagemath.org/wiki/Cygwin...

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...

Preview: (hide)
link

Comments

1

Meant mingw

shinster gravatar imageshinster ( 4 years ago )
-1

answered 5 years ago

shinster gravatar image

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

Preview: (hide)
link

Comments

1

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 ( 5 years ago )

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

Stats

Asked: 5 years ago

Seen: 2,252 times

Last updated: Aug 01 '20