2015 Program for Women and

SageMath Installation Instructions

Below are instructions for configuring your to run SageMath. Since one of the files that you need to download is quite large in size, we recommended that you complete the steps below on your personal computer prior to the start of the 2015 Program for Women and Mathematics.

If you run into any issues with these instructions on your personal computer, please contact the School of Mathematics Help Desk at [email protected] or visit the SageMath website (http://www.sagemath.org/).

Fedora 21

1. Download and unpack the Fedora 21 pre-built SageMath binary tarball from the following location: http://www.sagemath.org/download-linux.html. 2. Create a symbolic link in /usr/local/bin that points to the path where you unpacked the pre-built SageMath binary in Step 1. For example,

ln -s /path/to/sage-x.y.z-x86_64-/sage /usr/local/bin/sage

3. Navigate to /usr/local/bin. 4. Type sage and press the Enter button. 5. You will be prompted to install “sagemath”. Enter y. Please wait for all required packages to be downloaded and installed. 6. Once the installation is complete, type sage. 7. Type notebook() to launch the browser-based . 8. Type in a new password for the SageMath Notebook “admin” account twice. 9. The SageMath browser-based notebook should now be displayed.

How to exit the Sage appliance

1. Click on the Sign out link at the top of the SageMath browser based notebook interface. 2. Close your . 3. Press Ctrl+. 4. Type exit to close SageMath.

1. Download and install the appropriate version of VirtualBox on your personal computer and Windows operating system from this location: https://www.virtualbox.org/wiki/Downloads. Accept all of the default installation options. 2. Download the SageMath virtual appliance file (sage-6.x.ova) from this location: http://www.sagemath.org/download-windows.html. This file will work on both a Windows and Mac OS X computer. 3. Once the sage-6-x.ova file is downloaded into your personal computer, launch VirtualBox. 4. Click on File > Import Appliance. 5. Navigate to the location that you downloaded the SageMath virtual appliance to in Step 2. Select the file and then click on the Open button. 6. Click on the Next button. 7. Click on the Import button. Please wait while the SageMath virtual appliance is imported into VirtualBox. This process could take several minutes to complete. 8. Once the SageMath virtual appliance is imported, it will appear in the list of available virtual machines to run via VirtualBox. Click on the icon representing the SageMath virtual appliance and then click on the Start button. Once the SageMath virtual appliance is up and running, you will see a VirtualBox window showing the SageMath .

How to exit the Sage appliance

1. Click on the Sign out link at the top of the SageMath virtual appliance window. 2. Click on the VirtualBox Machine menu bar option. 3. Click on ACPI Shutdown to shutdown the SageMath virtual appliance.

Mac OS X Yosemite

1. Download and install the appropriate version of VirtualBox on your personal computer and OS X operating system from this location: https://www.virtualbox.org/wiki/Downloads. Accept all of the default installation options. 2. Download the SageMath virtual appliance file (sage-6.x.ova) from this location: http://www.sagemath.org/download-windows.html. This file will work on both a Windows and Mac OS X computer. 3. Once the sage-6-x.ova file is downloaded into your personal computer, launch VirtualBox. 4. Click on File > Import Appliance 5. Navigate to the location that you downloaded the SageMath virtual appliance to in Step 2. Select the file and then click on the Open button. 6. Click on the Continue button. 7. Click on the Import button. Please wait while the SageMath virtual appliance is imported into VirtualBox. 8. Once the SageMath virtual appliance is imported, it will appear in the list of available virtual machines to run via VirtualBox. Click on the icon representing the SageMath virtual appliance and then click on the Start button. Once the SageMath virtual appliance is up and running, you will see a VirtualBox window showing the SageMath graphical user interface.

How to exit the Sage appliance

1. Click on the Sign out link at the top of the SageMath virtual appliance window. 2. Click on the VirtualBox Machine menu bar option. 3. Click on ACPI Shutdown to shutdown the SageMath virtual appliance.