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
Last revisionBoth sides next revision
blog:installing_sage_on_ubuntu_11.10 [2012-02-08 19:13] brbblog:installing_sage_on_ubuntu_11.10 [2012-02-13 18:36] – [Finishing up the installation] brb
Line 36: Line 36:
   sage:   sage:
      
-If you get errors when starting up, then probably the first start as root has created some files in the directory ~./sage which now belong to root instead of you ($USER) +If you get errors when starting up, then probably the first start as root has created some files in the directory ~./sage which now belong to root instead of you (USER) 
-  cd .sage  +<code> 
-  sudo chown $USER:$USER * -R +cd .sage  
-  sage +sudo chown $USER:$USER * -R 
-Should now work.+sage 
 +</code> 
 +Shou 
 +ld now work.
  
 ===== Setting up sagetex for LaTeX ===== ===== 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!): +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 +<code> 
-  ln -s /opt/sage/local/share/texmf/tex/generic/sagetex/ ~/textmf/sagetex +  mkdir ~/texmf 
-  sudo texhash+  ln -s /opt/sage/local/share/texmf/tex/generic/sagetex/ ~/textmf/sagetex 
 +  sudo texhash 
 +</code>
  
-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