Ask Your Question

Installing GAP package: Permission denied

asked 2015-06-18 21:32:16 +0200

gigaSlayer13189 gravatar image

updated 2015-06-18 22:49:52 +0200

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 13:34:45 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-21 20:13:47 +0200

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 21:32:16 +0200

Seen: 422 times

Last updated: Jun 21 '15