Ask Your Question

Installing GAP package: Permission denied

asked 2015-06-18 14:32:16 -0500

gigaSlayer13189 gravatar image

updated 2015-06-18 15:49:52 -0500

tmonteil gravatar image

I am trying to install a GAP package into a project. I have been following this tutorial

When I try to wget the file (into the $SAGE_ROOT/local/gap/latest/pkg) directory, I get a permission denied error. I tried to place the tar.gz file in my home directory and unzip it from there, but I get the same mistake when unzipping. I can't use sudo because I don't know the password. Any help?

edit retag flag offensive close merge delete


For issues with, you can also use the sage-cloud mailing list, or email

slelievre gravatar imageslelievre ( 2015-06-19 06:34:45 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-21 13:13:47 -0500

gigaSlayer13189 gravatar image

Within your project directory ("~/") do the following commands:

mkdir .gap/pkg
cd .gap/pkg
wget package-name.tar.gz
tar -zxf package-name.tar.gz

Start GAP

sage -gap

You're done.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-06-18 14:32:16 -0500

Seen: 167 times

Last updated: Jun 21 '15