Differences between revisions 16 and 24 (spanning 8 versions)
Revision 16 as of 2018-08-11 22:42:54
Size: 5042
Editor: vdelecroix
Comment:
Revision 24 as of 2018-08-12 19:55:00
Size: 6391
Editor: vdelecroix
Comment:
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
 * Ubuntu (versions >= 18.04) and archlinux: install the packages sagemath and sagemath-jupyter  * Debian (versions >= 9.0) and Ubuntu (versions >= 18.04): install the packages `sagemath`, `sagemath-doc-en` and `sagemath-jupyter`
 * archlinux: install the packages `sagemath`, `sagemath-doc` and `sagemath-jupyter`
Line 31: Line 32:
 * To install flipper, it should work out of the box with the command line (if you do not know how to open a command line, ask one of the organizer) ==== Generic Installation ====

This installation would work in most situations. Though if you happen to be in one of the specific situations listed below, just jump to that section.

* To install flipper, it should work out of the box with the following command (if you do not know how to open a command line, ask one of the organizer)
Line 35: Line 40:
   If the above command does not work you are in trouble, if you are using MAc OS X, see below, otherwise ask Vincent. If it does work, go to next step.
 * To install surface_dynamics and snappy you need a working version of gcc and g++ (that should be the case for most of you). The commands are similar
   If the above command does not work, ask for help. If it does work, go to next step.
 * To install surface_dynamics and snappy you need a working version of gcc and g++ (that should be the case for most of you). The commands are similar to the one before
Line 41: Line 46:
   Similarly, report any error or weird behavior.
Line 43: Line 49:
If you are using Mac OS X, the computer might complain with `could not fetch URL ...`. In that situation, you can try the two following solutions ==== Mac OS X specifics ====

If you are using the binaries for Mac OS X, the computer might complain with `could not fetch URL ...`. In that situation, you can try the two following solutions
Line 50: Line 58:
 Then go back to the instructions "Installing flipper, snappy, flatsurf and surface_dynamics".
Line 56: Line 65:
  and then install them via
  {{{
  $ sage -pip install flipper-0.12.3.tar.gz
  $ sage -pip install surface_dynamics-0.4.0.tar.gz
  $ sage -pip install snappy-2.6.tar.gz
  $ sage -pip master.zip
  }}}
 and then install them via
 {{{
 $ sage -pip install flipper-0.12.3.tar.gz
 $ sage -pip install surface_dynamics-0.4.0.tar.gz
 $ sage -pip install snappy-2.6.tar.gz
 $ sage -pip master.zip
 }}}

==== Ubuntu >= 18.04 and Debian >= 8.0 packages ====

If you happen to have installed the packages `sagemath` and `sagemath-jupyter` from your package manager in Debian/Ubuntu then you would need to do
{{{
$ source /usr/share/sagemath/bin/sage-env
$ pip install flipper --user
$ pip install surface_dynamics --user
$ pip install snappy --user
}}}
For the installation of flatsurf, follows the instruction at https://github.com/videlec/sage-flatsurf and replace any instance of `sage -pip` by `pip`.

==== Archlinux ====

If you are a Archlinux and are using the package `sagemath` from the package manager then do
{{{
$ pip2 install flipper --user
$ pip2 install surface_dynamics --user
$ pip2 install snappy --user
}}}
For the installation of flatsurf, follows the instruction at https://github.com/videlec/sage-flatsurf and replace any instance of `sage -pip` by `pip`.

Sage Days 96

Sage days 96 to be held at the Fields Institute for the program Teichmüller Theory and its Connections to Geometry, Topology and Dynamics. The schedule is available on the Fields website. This wiki page will be updated with all documents relative to the workshop (worksheets, tutorials, demos, nice pictures, etc).

In order to assist to the workshop you are asked to come with your laptop (though you are also welcome without laptop). It would also be great if you could make sure that Sage is installed on it (see "Sage Installation" below).

Worksheets

Sage Installation

The installation procedure depends on your operating system:

  • Debian (versions >= 9.0) and Ubuntu (versions >= 18.04): install the packages sagemath, sagemath-doc-en and sagemath-jupyter

  • archlinux: install the packages sagemath, sagemath-doc and sagemath-jupyter

  • gentoo: you can give a try to sage on gentoo

  • all other systems (GNU/Linux, OSX, Windows): go to the main SageMath website, go to the download section, choose a download server close to your location and download the Sage binary that corresponds to your operating system.

  • If you run GNU/Linux or OSX you can also try to compile the software from sources. The procedure is described in the documentation.

Installing flipper, snappy, flatsurf and surface_dynamics

These packages are installed through pip. Depending how you did install Sage you might run in different kind of complications.

Generic Installation

This installation would work in most situations. Though if you happen to be in one of the specific situations listed below, just jump to that section.

  • To install flipper, it should work out of the box with the following command (if you do not know how to open a command line, ask one of the organizer)
    •    $ sage -pip install flipper --user
      If the above command does not work, ask for help. If it does work, go to next step.
  • To install surface_dynamics and snappy you need a working version of gcc and g++ (that should be the case for most of you). The commands are similar to the one before
    •    $ sage -pip install surface_dynamics --user
         $ sage -pip install snappy --user
      Similarly, report any error or weird behavior.
  • Lastly, to install flatsurf, look at the instructions at https://github.com/videlec/sage-flatsurf

Mac OS X specifics

If you are using the binaries for Mac OS X, the computer might complain with could not fetch URL .... In that situation, you can try the two following solutions

  1. You do have Xcode installed in which case you can recompile the Python shipped with Sage with SSL support with
     $ sage -i openssl
     $ sage -f python2 
    Then go back to the instructions "Installing flipper, snappy, flatsurf and surface_dynamics".
  2. The alternative to option 1 is to download each package independently: and then install them via
     $ sage -pip install flipper-0.12.3.tar.gz
     $ sage -pip install surface_dynamics-0.4.0.tar.gz
     $ sage -pip install snappy-2.6.tar.gz
     $ sage -pip master.zip

Ubuntu >= 18.04 and Debian >= 8.0 packages

If you happen to have installed the packages sagemath and sagemath-jupyter from your package manager in Debian/Ubuntu then you would need to do

$ source /usr/share/sagemath/bin/sage-env
$ pip install flipper --user
$ pip install surface_dynamics --user
$ pip install snappy --user

For the installation of flatsurf, follows the instruction at https://github.com/videlec/sage-flatsurf and replace any instance of sage -pip by pip.

Archlinux

If you are a Archlinux and are using the package sagemath from the package manager then do

$ pip2 install flipper --user
$ pip2 install surface_dynamics --user
$ pip2 install snappy --user

For the installation of flatsurf, follows the instruction at https://github.com/videlec/sage-flatsurf and replace any instance of sage -pip by pip.

Organizers and participants

See the Fields Institute webpage.

At this pad, we will coordinate lunch and so on.

days96 (last edited 2018-10-29 18:04:33 by vdelecroix)