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 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:37] (current) – [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 | + | < |
- | sudo chown $USER:$USER * -R | + | cd .sage |
- | sage | + | sudo chown $USER:$USER * -R |
+ | sage | ||
+ | </ | ||
Should now work. | Should now work. | ||
- | If you use LaTeX and want to integrate sage into your latex files (which | + | ===== |
- | | + | |
- | | + | |
- | | + | If you use LaTeX and want to integrate sage into your latex files (which |
+ | < | ||
+ | mkdir ~/texmf | ||
+ | ln -s / | ||
+ | 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