Difference between revisions of "SageMath"

From Sabayon Wiki
Jump to: navigation, search
(Installation via Portage)
(Installation via Portage)
Line 2: Line 2:
  
 
==Installation via Portage==
 
==Installation via Portage==
To install SageMath using Portage, one must first add the <code>sage-on-gentoo</code> overlay and then emerge the <code>sage</code> package. Although to save time and increase one's odds of successfully installing SageMath one can install as many dependencies as possible with Entropy. To add the overlay run:
+
{{su}}
 
+
To install SageMath using Portage, one must first add the <code>sage-on-gentoo</code> overlay and then emerge the <code>sage</code> package. Although to save time and increase one's odds of successfully installing SageMath one should install as many dependencies as possible with Entropy. To add the overlay run:
 
<pre>
 
<pre>
 
emerge --sync && layman -S #sync Portage and layman
 
emerge --sync && layman -S #sync Portage and layman
Line 10: Line 10:
  
 
to list the dependencies for the <code>sage</code> package run:
 
to list the dependencies for the <code>sage</code> package run:
 
 
<pre>
 
<pre>
 
emerge -pv sage
 
emerge -pv sage
 
</pre>
 
</pre>
  
Then one can install as many of these dependencies using {{en|Entropy}} as possible. After this is complete run:
+
Then one can install as many of these dependencies using {{en|Entropy}} (using <code>equo install <package_name></code> where <code><package_name></code> should be installed with the name of the package(s)) as possible. After this is complete run:
 
 
 
<pre>
 
<pre>
 
emerge -a sage
 
emerge -a sage

Revision as of 19:30, 23 August 2015

SageMath (previously called Sage and SAGE) is a free and open-source mathematics software (licensed under GPLv2) that integrates several other pieces of mathematics software in a unified Python-based interface. It has two major interfaces: a command-line interface and a notebook (web browser-based) interface. On Sabayon Linux there are two major ways to install SageMath, both of which are tedious (taking several hours, at least) via Portage and by manually compiling the source code.

Installation via Portage

Note: the commands in this section must be performed as root user. To enter root run su. To install SageMath using Portage, one must first add the sage-on-gentoo overlay and then emerge the sage package. Although to save time and increase one's odds of successfully installing SageMath one should install as many dependencies as possible with Entropy. To add the overlay run:

emerge --sync && layman -S #sync Portage and layman
layman -a sage-on-gentoo

to list the dependencies for the sage package run:

emerge -pv sage

Then one can install as many of these dependencies using Entropy (using equo install <package_name> where <package_name> should be installed with the name of the package(s)) as possible. After this is complete run:

emerge -a sage

External links