This is not a good idea to install all GAP packages, if you don't want to 
break your Sage install.
Not all GAP packages are compatible with libGAP (namely, ones that use 
GAP's dynamic loaded modules, e.g. IO); that is, installing them will break 
libGAP (and everything that uses it in Sage, which is quite a bit).

See 
https://github.com/OpenDreamKit/OpenDreamKit/issues/93#issuecomment-244484261
and https://trac.sagemath.org/ticket/20673

Once a GAP workspace with IO or another package like this is saved, it 
won't load properly into libGAP,
wrecking havoc...

On the other hand there are lots of GAP packages that are safe to install 
in this sense.

Dima


On Saturday, September 10, 2016 at 8:46:52 PM UTC, multiscalar wrote:
>
> Thanks, this is definitely simpler and it worked, but only about half of 
> the packages I use are included. How would I add the other ones?
> I think these days diskspace isn't much of an issue, it would be nice if 
> there are similar commands to install all accepted packages.
>
> On Saturday, September 10, 2016 at 11:46:33 AM UTC-7, John Cremona wrote:
>>
>> I just do "sage -i gap_packages" (and "sage -i database_gap") which 
>> sounds a lot simpler if it includes the packages you need.
>>
>> On 10 September 2016 at 18:36, multiscalar <multi...@gmail.com> wrote:
>>
>>> I just built sage-7.3 under Centos7. Everything seems to have worked 
>>> well :
>>> sage comes up fine and a few simple calculations work. The gap part on 
>>> its won
>>> also comes up and works with simple tests, but there are no packages 
>>> included.
>>>
>>> I'm now trying to add all the gap packages to the gap component. I tried 
>>> to
>>> follow the steps in :
>>>
>>>  https://wiki.sagemath.org/InstallingGapPackages
>>>
>>> The gap version in sage-7.3 is 4r8p3 which is one version older than the 
>>> latest gap.
>>> To play it safe I downloaded the version that matches sage and expanded 
>>> it in a temporary
>>> directory. I then started sage shell :
>>>
>>>  sage -sh
>>>
>>> and copied the contents of the "pkg" subdirectory from the temporary 
>>> area to the sage
>>> area (sage/local/gap/latest/pkg/....). I built a couple of the packages 
>>> and that worked
>>> fine. I then exited the sage shell.
>>>
>>> Following the instructions I then called sage and typed :
>>>
>>> gap_reset_workspace() 
>>>
>>> I got a "WARNING : this should never happen" and it seems that sage got 
>>> stuck somewhere.
>>> Also calling the gap on its own shows that the package installation 
>>> didn't work.
>>>
>>> I think this shouldn't be too hard to fix, but I'm out of ideas.
>>>
>>> Thanks for your help.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "sage-support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to sage-support...@googlegroups.com.
>>> To post to this group, send email to sage-s...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/sage-support.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to