blog:installing_sage_on_ubuntu_11.10
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
blog:installing_sage_on_ubuntu_11.10 [2012-02-08 19:11] – brb | blog:installing_sage_on_ubuntu_11.10 [2012-02-13 18:35] – [Finishing up the installation] brb | ||
---|---|---|---|
Line 16: | Line 16: | ||
Download the file for you platform from here http:// | Download the file for you platform from here http:// | ||
- | Unpack | + | Unpack/move the build or downloaded files to /opt, this gives you a directory / |
+ | |||
+ | ===== Finishing up the installation ===== | ||
Make a symolic link to this directory: | Make a symolic link to this directory: | ||
sudo ln -s / | sudo ln -s / | ||
Line 33: | 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 | cd .sage | ||
sudo chown $USER:$USER * -R | sudo chown $USER:$USER * -R | ||
sage | sage | ||
+ | </ | ||
Should now work. | Should now work. | ||
- | If you use LaTeX and want to integrate sage into your latex files (which | + | ===== Setting up sagetex for LaTeX ===== |
+ | |||
+ | If you use LaTeX and want to integrate sage into your latex files (which | ||
* mkdir ~/texmf | * mkdir ~/texmf | ||
* ln -s / | * ln -s / | ||
* 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 / | cd / | ||
ls | ls |
blog/installing_sage_on_ubuntu_11.10.txt · Last modified: 2012-02-13 18:37 by brb