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

Discussions Regarding Software

Moderator: Moderators

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

Postby fusion809 » Wed Jul 29, 2015 8:03

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
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+
fusion809
Growing Hen
 
Posts: 116
Joined: Fri Jul 03, 2015 15:11
Location: Townsville, Australia

Re: Is SageMath 6.8 available in any community repos?

Postby sabayonino » Wed Jul 29, 2015 19:38

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
User avatar
sabayonino
Sagely Hen
 
Posts: 2941
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Is SageMath 6.8 available in any community repos?

Postby wolfden » Wed Jul 29, 2015 21:23

To do it via Portage follow the steps below:

Open a terminal window and su to root
Code: Select all
emerge --sync

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
Code: Select all
layman -L


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
Code: Select all
layman -a sage-on-gentoo

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
Code: Select all
emerge -a sage


It will than stop and complain about a USE flag that needs to taken care of before it can install it, to fix that
Code: Select all
euse -D pdf


Rerun
Code: Select all
emerge -a sage

now it still needs to satisfy some configuration by asking you
Code: Select all
Would you like to add these changes to your config files? [Yes/No]

type Yes and don't worry about all the other lines of information/warnings

Rerun
Code: Select all
emerge -a sage

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

Update the config files
Code: Select all
etc-update

type -5

Now lets make sure our worldfile is populated
Code: Select all
regenworld


Rerun
Code: Select all
emerge -a sage

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
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


Now we need to install GCC so we can compile packages
Code: Select all
equo i sys-devel/gcc sys-devel/base-gcc


After that is installed we check again to see what is left
Code: Select all
emerge -a sage

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
Code: Select all
equo rescue spmsync
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Is SageMath 6.8 available in any community repos?

Postby wolfden » Thu Jul 30, 2015 2:17

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

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


than continued on

Code: Select all
equo install sage
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Is SageMath 6.8 available in any community repos?

Postby fusion809 » Wed Aug 05, 2015 3:16

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+
fusion809
Growing Hen
 
Posts: 116
Joined: Fri Jul 03, 2015 15:11
Location: Townsville, Australia

Re: Is SageMath 6.8 available in any community repos?

Postby fusion809 » Wed Aug 05, 2015 4:28

Your method failed, equo install sage at the end revealed no packages were available.
Code: Select all
emerge -a sage
suggested running:
Code: Select all
emerge -a =sci-mathematics/sage-6.8:sage-on-gentoo
. 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):
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.


running
Code: Select all
emerge -a =sci-mathematics/sage-6.8:sage-on-gentoo
gave:
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+
fusion809
Growing Hen
 
Posts: 116
Joined: Fri Jul 03, 2015 15:11
Location: Townsville, Australia

Re: Is SageMath 6.8 available in any community repos?

Postby wolfden » Wed Aug 12, 2015 6:59

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

Code: Select all
equo install portage


make sure you have done
Code: Select all
emerge --sync && layman -S


Code: Select all
emerge -a sage
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Is SageMath 6.8 available in any community repos?

Postby fusion809 » Wed Aug 12, 2015 9:44

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?
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+
fusion809
Growing Hen
 
Posts: 116
Joined: Fri Jul 03, 2015 15:11
Location: Townsville, Australia

Re: Is SageMath 6.8 available in any community repos?

Postby fusion809 » Wed Aug 12, 2015 12:15

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.
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+
fusion809
Growing Hen
 
Posts: 116
Joined: Fri Jul 03, 2015 15:11
Location: Townsville, Australia


Next

Return to Software in General

Who is online

Users browsing this forum: No registered users and 5 guests