User Tools

Site Tools


blog:installing_sage_on_ubuntu_11.10

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
blog:installing_sage_on_ubuntu_11.10 [2012-02-08 19:11] brbblog:installing_sage_on_ubuntu_11.10 [2012-02-08 19:14] – [Setting up sagetex for LaTeX] brb
Line 16: Line 16:
 Download the file for you platform from here http://www.sagemath.org/download-linux.html Download the file for you platform from here http://www.sagemath.org/download-linux.html
  
-Unpack in opt, this gives you a directory /opt/sage-4.xy...+Unpack/move the build or downloaded files to /opt, this gives you a directory /opt/sage-4.xy... 
 + 
 +===== Finishing up the installation ===== 
 Make a symolic link to this directory: Make a symolic link to this directory:
   sudo ln -s /opt/sage-4.... /opt/sage   sudo ln -s /opt/sage-4.... /opt/sage
Line 39: Line 42:
 Should now work. Should now work.
  
-If you use LaTeX and want to integrate sage into your latex files (which give you all the power of sage/maxima/maple/... directly inside you LaTeX file!):+===== Setting up sagetex for LaTeX ===== 
 + 
 +If you use LaTeX and want to integrate sage into your latex files (which gives you all the power of sage/maxima/maple/... directly inside you LaTeX file!):
   * mkdir ~/texmf   * mkdir ~/texmf
   * ln -s /opt/sage/local/share/texmf/tex/generic/sagetex/ ~/textmf/sagetex   * ln -s /opt/sage/local/share/texmf/tex/generic/sagetex/ ~/textmf/sagetex
   * sudo texhash   * sudo texhash
  
-Now you have the sagetex.sty file from the sage installation available. If you run texlive, it's a good idea to hunt down and rename the outdated sagetex.sty file+Now you have the sagetex.sty file from the sage installation available. If you run texlive, it's a good idea to hunt down and rename the outdated sagetex.sty file which probably hangs around:
   cd /usr/share/texmf-texlive/tex/latex/sagetex   cd /usr/share/texmf-texlive/tex/latex/sagetex
   ls   ls
blog/installing_sage_on_ubuntu_11.10.txt · Last modified: 2012-02-13 18:37 by brb