SageMath Shell This shortcut launches straight into a bash shell in the Sage environment e. This is generally for more advanced users already accustomed to using Sage in a UNIX-like environment, or those who would like to learn. This environment is based on Cygwin , so all documentation in the Cygwin User's Guide is applicable. However, for most common tasks, it is not necessary to know much or anything about Cygwin. Caveats Optional and pip packages The major known caveat to the current version of the SageMath Windows install is that it is not currently possible to install Sage optional packages.
This is in part because the build toolchain for Sage packages is not included by the installer, and in part because not all optional packages are supported yet. Additionally, any attempt to install new Python packages with pip will fail with a permission error. It is possible to work around this by right-clicking the SageMath Shell icon and, if available to you, run it with "Run as administrator": This will allow most pip install packages to be installed however it will do nothing for Sage optional packages since the build toolchain for them is missing.
This usage generally works but is not supported , so use at your own risk. In the meantime different optional are being explored for better supporting installation of optional packages.
Hidden files One caveat of both the shell, and other software such as the Jupyter Notebook file browser that lists files is that UNIX-based software does not distinguish Windows' notion of "hidden files" from non-hidden files.
In particular, the home directory listing where the default "home" directory is your Windows user directory; e. DAT ntuser. LOG1 ntuser. DAT files. We would like to include an alternative ls that keeps such files hidden by default, but for now it's best just to ignore this and work around it.
Other options for running SageMath on Windows The Sage for Windows installer is probably the easiest, most user-friendly way to get Sage running as a native -ish Windows application the "-ish" part is because it relies on the Cygwin POSIX emulation system to work, which adds additional overhead and slight instability compared to a non-Cygwin application, but for most users on modern systems it will work just fine. As noted, however, there are other ways to run Sage on Windows which may be appropriate either if you have trouble getting the installer working, or if you have other needs e.
Here are a few ideas: Build Sage from source in Cygwin The Sage for Windows installer comes with its own custom distribution of Cygwin, hand-picked to meet Sage's runtime requirements. However, you may also manually install a generic Cygwin installation, and use it to build and run Sage from source.
There are comprehensive instructions for building Sage on Cygwin over at Sage's development Trac site.
This makes it relatively easy to install and run a Linux VM that has been custom-built for running and working with Sage. However, depending on your system, getting things like filesystem and network sharing can be a challenge issues general to configuring a VM to run on your system, and not particular to Sage or the Sage VirtualBox Appliance. You can download the. Alternatively, if you are having trouble running VMs, or other things just aren't working on your system we have seen many personal laptops that are too corrupted to even run a VM successfully in Windows and just want to give Sage a try, one possibility is to actually use the SageMath Live USB as intended: Flash the downloaded image onto a USB drive, plug it into your computer, and try booting your computer from it.
This may require entering your computer's BIOS settings at boot time this usually requires pressing a special key which depends on the computer, often esc , f8 , f12 , or some other function key and changing the boot settings to allow booting the computer from a USB drive.
This will work on most systems that don't have outright hardware damage, and can at least give you a partially working system that you can use Sage on for the duration of a workshop, for example. It is similarly a Debian Live-based distribution pre-loaded with open source mathematics software such as Sage. It uses the official Debian package for Sage, so the version included in the current version is a little old, but good enough for evaluation.
It is also designed to be installable to your hard disk either as a primary OS, or side-by-side with your existing Windows installation, and is well battle-tested across Africa and elsewhere. It also has all you need to install and run newer versions of Sage, either using the pre-built binaries for Linx , or building from source. Docker We maintain regularly updated Docker images for SageMath if you see a label on there that says "maintained: no!
Docker for Windows works better and is easier to install than ever. However, it still requires a recent version of Windows that has Hyper-V support see the troubleshooting notes. For novices, or users with older computers, this may be slightly challenging to set up.
Hyper-V is Windows' built-in virtual machine hypervisor, and enabling it means that you will not be able to use other VM software such as VirtualBox , until and unless Hyper-V is disabled Hyper-V can also be used as a replacement for VirtualBox , however. That said, once Docker for Windows is installed, starting and running the sagemath Docker image is relatively easy, by following the same instructions on Docker Hub as you would use for any other OS.
Feb 26, Feb 13, May 22, Nov 18, Add the build resources and scripts that have been assembled so far--…. Dec 13, More problems caused by misorganized GIAC docs. Now we just delete them. Aug 19, Adds the Makefile-based build system, based on the instructions I ori…. Feb 2, Aug 25, Minor updates for InnoSetup 6. Aug 24, Feb 16, Jan 5, View code. SageMath for Windows Instructions.
SageMath for Windows Build files and instructions for the Cygwin-compatible build of Sage and its executable installer and auxiliary files. Instructions This repository should be run from within Cygwin.
0コメント