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 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 ( 2019-06-23 11:13:28 -0500 )edit

@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 ( 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