- Notifications
You must be signed in to change notification settings - Fork9
Basic package manager for GAP
License
gap-packages/PackageManager
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A basic collection of simple functions for installing and removing GAP packages,with the eventual aim of becoming a full package manager for the GAP system.
Example invocations:
gap> LoadPackage("PackageManager");gap> InstallPackage("digraphs");gap> InstallPackage("https://github.com/gap-packages/Semigroups.git");gap> InstallPackage("https://github.com/gap-packages/design/releases/download/v1.8.2/design-1.8.2.tar.gz");gap> RemovePackage("semigroups");
By default, verbose information about a command's progress is printed to thescreen. To see less of this information, try using:
gap> SetInfoLevel(InfoPackageManager, 1);
For more information on the features of PackageManager, see the documentation athttps://gap-packages.github.io/PackageManager/doc/chap1.htmlor enter GAP and call, for example,
gap> ?InstallPackage
It should be possible to install GAP from source, and install all requiredpackages, using nothing but GAP and PackageManager. The following instructionsattempt to install GAP in your home directory~
, with the package manager in a~/.gap/pkg
directory. This should work on a Debian/Ubuntu machine, but mightneed some alterations on a Mac.
First, make sure you've got the required dependencies for GAP installed on yourcomputer. On a Debian/Ubuntu machine you can get the required software using:
sudo apt install autoconf build-essential curl git graphviz libtool libgmp-dev texlive-full
On a Mac, you can get the required software by installing Homebrew, and running:
brew install git autoconf automake curl GMP graphviz libtool
Now, to install GAP and PackageManager, open a terminal window and enter the following:
cd~git clone git@github.com:gap-system/gap.gitcd gap./autogen.sh./configuremakecd~/mkdir .gapcd .gapmkdir pkgcd pkggit clone git@github.com:gap-packages/PackageManager.gitcd~/gap./gap --bare
In the GAP window that opens, enter the following:
LoadPackage("PackageManager");InstallRequiredPackages();quit;
Now compile the documentation using:
make doc
You should now be able to load GAP with./gap
and everything should worknormally. Further required packages can be installed withInstallPackage
whenyou need them.
Please cite this package using the following format:
[YouXX]M. Young,PackageManager (GAP package),Easily download and install GAP packages,Version X.Y.Z (20XX),https://github.com/gap-packages/PackageManager.
PackageManager was partly created with funding from the OpenDreamKit project:https://opendreamkit.org | |
This infrastructure is part of a project that has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 676541. |
About
Basic package manager for GAP
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors8
Uh oh!
There was an error while loading.Please reload this page.