## Is SageMath 6.8 available in any community repos? [Solved]

**Moderator:** Moderators

### Is SageMath 6.8 available in any community repos? [Solved]

Hi,

In a previous post I asked whether something similar to Yaourt or the AUR was available for Sabayon and this question is sort of related as SageMath is in the AUR, but because we don't have a single website in which I can search for all available SageMath packages within all community repos, the main Entropy repo and the Portage repo, I can't simply search for a Sabayon equivalent for this package, and hence I must ask it here. Does anyone know of a community repo that provides SageMath and is sufficiently up-to-date to offer the latest stable version of this software, 6.8?

Thanks for your time,

Brenton

In a previous post I asked whether something similar to Yaourt or the AUR was available for Sabayon and this question is sort of related as SageMath is in the AUR, but because we don't have a single website in which I can search for all available SageMath packages within all community repos, the main Entropy repo and the Portage repo, I can't simply search for a Sabayon equivalent for this package, and hence I must ask it here. Does anyone know of a community repo that provides SageMath and is sufficiently up-to-date to offer the latest stable version of this software, 6.8?

Thanks for your time,

Brenton

Last edited by fusion809 on Wed Aug 26, 2015 23:10, edited 1 time in total.

Brenton Horne

Favourite distros: Arch Linux, Fedora, openSUSE, Sabayon Linux and Ubuntu.

Usernames: Fuse809 (Wikimedia), fusion809 (RuneScape), Brenton (Sabayon Wiki) and fusion809 (Gentoo Wiki).

My Blog on Sabayon | Google+

Favourite distros: Arch Linux, Fedora, openSUSE, Sabayon Linux and Ubuntu.

Usernames: Fuse809 (Wikimedia), fusion809 (RuneScape), Brenton (Sabayon Wiki) and fusion809 (Gentoo Wiki).

My Blog on Sabayon | Google+

- sabayonino
- Sagely Hen
**Posts:**3190**Joined:**Sun Sep 21, 2008 1:12**Location:**Italy-
**Contact:**

### Re: Is SageMath 6.8 available in any community repos?

here : http://gpo.zugaina.org/sci-mathematics/sage

ask here for packaging if you don't know how portage works with entropy.

or try to compile by yourself : read more

ask here for packaging if you don't know how portage works with entropy.

or try to compile by yourself : read more

[

BOINC ready !

**Che Cos'è Il Calcolo Distribuito (BOINC)**BOINC ready !

**Sabayon+BOINC = BILD**,my Sabayon spin - Ready to crunch for the Science everywhere### Re: Is SageMath 6.8 available in any community repos?

To do it via Portage follow the steps below:

Open a terminal window and su to root
The sync will take some time to do when ran the first time

Since we already have layman 2.3.0 installed we don't need to make any further changes to any config files. So now we can add the overlay that contains our ebuild for sage

First fetch/update the overlay list
There we can see sage-on-gentoo is there so we add it and sync it. It will prompt you with a warning about it not being official, choose Yes
It will add and sync the overlay all at the same time.

Now here is where we mix portage and entropy. We will check for dependencies and install as many of those dependencies via entropy and install the rest with portage
It will than stop and complain about a USE flag that needs to taken care of before it can install it, to fix that
Rerun
now it still needs to satisfy some configuration by asking you
type Yes and don't worry about all the other lines of information/warnings

Rerun
and once again it needs to make more configuration changes so type Yes once again

Update the config files
type -5

Now lets make sure our worldfile is populated
Rerun
It should now ask you if you want to merge the files. As you can see it wants to install a lot of files, pending on what you have all installed or not. Type No as we want to install everything we can via entropy first.

So we go through the list to see what is in entropy and I came up with the following to install via entropy
Now we need to install GCC so we can compile packages
After that is installed we check again to see what is left
so we should be good to go, type Yes

Wait for portage to finish and hopefully all goes well

Now we need to let entropy know what we did so it sees the portage packages

Open a terminal window and su to root

Code: Select all

`emerge --sync`

Since we already have layman 2.3.0 installed we don't need to make any further changes to any config files. So now we can add the overlay that contains our ebuild for sage

First fetch/update the overlay list

Code: Select all

`layman -L`

Code: Select all

`layman -a sage-on-gentoo`

Now here is where we mix portage and entropy. We will check for dependencies and install as many of those dependencies via entropy and install the rest with portage

Code: Select all

`emerge -a sage`

Code: Select all

`euse -D pdf`

Code: Select all

`emerge -a sage`

Code: Select all

`Would you like to add these changes to your config files? [Yes/No] `

Rerun

Code: Select all

`emerge -a sage`

Update the config files

Code: Select all

`etc-update`

Now lets make sure our worldfile is populated

Code: Select all

`regenworld`

Code: Select all

`emerge -a sage`

So we go through the list to see what is in entropy and I came up with the following to install via entropy

Code: Select all

` equo install kpathsea suitesparseconfig mathjax libsodium lz4-0_p120 ptexenc ntl flint amd texi2html colamd cxsparse dvipsk bibtexu ps2pkm cholmod asdf rlwrap swig python-openid scons stix-fonts pexpect pyparsing sip ptyprocess jsonschema blinker pycrypto backports gmpy snowballstemmer cython pygments mpmath python-dateutil singledispatch pkgconfig networkx webassets itdangerous werkeug speaklater zope-interface pyasnl-modules characteristic simplegeneric backports-ssl-match-hostname certifi markupsafe alabaster pillow jinja docutils Babel eselect-wxwidgets mistune python-singledispatch python-imaging flask help2man automake flask-oldsessions flask-babel flask-openid flask-silk flask-autoindex umfpack glpk cddlib hdf5 libatomic_ops singular snappy teckit gsl arpack dsdp boehm ecls bottleneck sphinx_rtd_theme sphinx cmake service_identify qhull c-blosc pytables zeromq pyzmq gd pyopengl sympy dev-lang/R twisted-core twisted-web twisted-names www-servers/tornado twisted-mail terminado x11-libs/wxGTK-2.8.12.1-r1 x11-libs/wxGTK-2.8.12.1-r1 zziplib texlive-core wxpython gnuplot texlive-basic texlive-latex texlive-latexrecommended latex-base pari maxima eclib lcalc qthelp PyQt4 ipython matplotlib polybor pandas rpy`

Code: Select all

`equo i sys-devel/gcc sys-devel/base-gcc`

Code: Select all

`emerge -a sage`

Wait for portage to finish and hopefully all goes well

Now we need to let entropy know what we did so it sees the portage packages

Code: Select all

`equo rescue spmsync`

### Re: Is SageMath 6.8 available in any community repos?

install went fine only issue was polybori failed to build, so had to

than continued on

Code: Select all

`env USE="-doc" emerge -a =sci-mathematics/polybori-0.8.3-r2::sage-on-gentoo`

Code: Select all

`equo install sage`

### Re: Is SageMath 6.8 available in any community repos?

I keep on getting messages saying that packages are masked during installing SageMath. Is this an issue?

Brenton Horne

Favourite distros: Arch Linux, Fedora, openSUSE, Sabayon Linux and Ubuntu.

Usernames: Fuse809 (Wikimedia), fusion809 (RuneScape), Brenton (Sabayon Wiki) and fusion809 (Gentoo Wiki).

My Blog on Sabayon | Google+

Favourite distros: Arch Linux, Fedora, openSUSE, Sabayon Linux and Ubuntu.

Usernames: Fuse809 (Wikimedia), fusion809 (RuneScape), Brenton (Sabayon Wiki) and fusion809 (Gentoo Wiki).

My Blog on Sabayon | Google+

### Re: Is SageMath 6.8 available in any community repos?

Your method failed, equo install sage at the end revealed no packages were available. suggested running:
. It suggested it (or so I thought) by this output (this is a truncated output, some of it is omitted as it would be too large to fit here):
running gave:

Code: Select all

`emerge -a sage`

Code: Select all

`emerge -a =sci-mathematics/sage-6.8:sage-on-gentoo`

Code: Select all

```
!!! All ebuilds that could satisfy "sage" have been masked.
!!! One of the following masked packages is required to complete your request:
- sci-mathematics/sage-9999::sage-on-gentoo (masked by: corruption)
- sci-mathematics/sage-6.8-r1::sage-on-gentoo (masked by: corruption)
- sci-mathematics/sage-6.8::sage-on-gentoo (masked by: corruption)
- sci-mathematics/sage-6.7-r1::sage-on-gentoo (masked by: corruption)
- sci-mathematics/sage-6.6::sage-on-gentoo (masked by: corruption)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
```

Code: Select all

`emerge -a =sci-mathematics/sage-6.8:sage-on-gentoo`

Code: Select all

```
!!! All ebuilds that could satisfy "=sci-mathematics/sage-6.8:sage-on-gentoo" have been masked.
!!! One of the following masked packages is required to complete your request:
- sci-mathematics/sage-6.8::sage-on-gentoo (masked by: corruption)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
```

Brenton Horne

Favourite distros: Arch Linux, Fedora, openSUSE, Sabayon Linux and Ubuntu.

Usernames: Fuse809 (Wikimedia), fusion809 (RuneScape), Brenton (Sabayon Wiki) and fusion809 (Gentoo Wiki).

My Blog on Sabayon | Google+

Favourite distros: Arch Linux, Fedora, openSUSE, Sabayon Linux and Ubuntu.

Usernames: Fuse809 (Wikimedia), fusion809 (RuneScape), Brenton (Sabayon Wiki) and fusion809 (Gentoo Wiki).

My Blog on Sabayon | Google+

### Re: Is SageMath 6.8 available in any community repos?

As you see it says masked by corruption, not sure why you are running into that as I did not

make sure you have latest portage installed

make sure you have done

make sure you have latest portage installed

Code: Select all

`equo install portage`

Code: Select all

`emerge --sync && layman -S`

Code: Select all

`emerge -a sage`

### Re: Is SageMath 6.8 available in any community repos?

Followed your instructions step-by-step and the final one gives:

Code: Select all

```
!!! SYNC setting found in make.conf.
This setting is Deprecated and no longer used. Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf
* IMPORTANT: 17 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "sage".
emerge: searching for similar names...
emerge: Maybe you meant any of these: sci-electronics/Stage, media-libs/sge, media-libs/simage?
```

Favourite distros: Arch Linux, Fedora, openSUSE, Sabayon Linux and Ubuntu.

Usernames: Fuse809 (Wikimedia), fusion809 (RuneScape), Brenton (Sabayon Wiki) and fusion809 (Gentoo Wiki).

My Blog on Sabayon | Google+

### Re: Is SageMath 6.8 available in any community repos?

Um, I re-run some of the commands to see if I could improve the result I get. Here's the output from :

Code: Select all

`emerge -a sage`

Code: Select all

```
!!! All ebuilds that could satisfy ">=sci-mathematics/pari-2.8_pre20150611[data,gmp,doc]" have been masked.
!!! One of the following masked packages is required to complete your request:
- sci-mathematics/pari-9999::sage-on-gentoo (masked by: package.mask, missing keyword)
/etc/portage/package.mask/00-sabayon.package.mask:
# 2013-08-12 Fabio Erculiani: dev-perl/math-pari wants exactly
# sci-mathematics/pari-2.3.5
- sci-mathematics/pari-2.8_pre20150611::sage-on-gentoo (masked by: )
(dependency required by "sci-mathematics/sage-6.8-r1::sage-on-gentoo" [ebuild])
(dependency required by "sage" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
```

Favourite distros: Arch Linux, Fedora, openSUSE, Sabayon Linux and Ubuntu.

Usernames: Fuse809 (Wikimedia), fusion809 (RuneScape), Brenton (Sabayon Wiki) and fusion809 (Gentoo Wiki).

My Blog on Sabayon | Google+

- sabayonino
- Sagely Hen
**Posts:**3190**Joined:**Sun Sep 21, 2008 1:12**Location:**Italy-
**Contact:**

### Re: Is SageMath 6.8 available in any community repos?

you need sage overlay !

viewtopic.php?f=59&t=32526&p=174603#p174520

viewtopic.php?f=59&t=32526&p=174603#p174520

[

BOINC ready !

**Che Cos'è Il Calcolo Distribuito (BOINC)**BOINC ready !

**Sabayon+BOINC = BILD**,my Sabayon spin - Ready to crunch for the Science everywhere