GAP

Main Branches

Downloads  Installation  Overview  Data Libraries  Packages  Documentation  Contacts  FAQ  GAP 3 

Upgrading GAP

Upgrading packages for the current release GAP 4.8.8

This page describes how to update GAP packages in an existing installation of GAP 4.8.8.

If you have any version of GAP older than GAP 4.8.8, the only way to install GAP 4.8.8 is a new installation.

If you have the most recent version GAP 4.8.8, then it may happen that some packages were upgraded since the time your installation was made, since packages are released and upgraded individually and independently of the core part of GAP.

We explain how to check this below.

Checking if you need to upgrade

If you run GAP from your installation you can cut and paste the following lines into that session, which produce suggestions for possible upgrades. This gives a list containing the names and versions of the currently distributed GAP core system and GAP packages.

   SuggestUpgrades([
        [ "GAPKernel", "4.8.8" ], 
        [ "GAPLibrary", "4.8.8" ], 
        [ "4ti2Interface", "2017.01.05" ], [ "ACE", "5.2" ], 
        [ "AClib", "1.2" ], [ "Alnuth", "3.0.0" ], 
        [ "ANUPQ", "3.1.5" ], [ "AtlasRep", "1.5.1" ], 
        [ "AutoDoc", "2016.12.04" ], [ "Automata", "1.13" ], 
        [ "AutomGrp", "1.3" ], [ "AutPGrp", "1.8" ], 
        [ "Browse", "1.8.7" ], [ "CAP", "2017.07.25" ], 
        [ "Carat", "2.1.6" ], [ "Circle", "1.5.4" ], 
        [ "cohomolo", "1.6.4" ], [ "Congruence", "1.1.1" ], 
        [ "Convex", "2013.12.05" ], [ "CoReLG", "1.20" ], 
        [ "Crime", "1.4" ], [ "CRISP", "1.4.4" ], 
        [ "Cryst", "4.1.12" ], 
        [ "CrystCat", "1.1.6" ], [ "CTblLib", "1.2.2" ], 
        [ "Cubefree", "1.16" ], [ "cvec", "2.5.7" ], 
        [ "DESIGN", "1.6" ], [ "Digraphs", "0.10.1" ], 
        [ "EDIM", "1.3.2" ], [ "Example", "3.5.1" ], 
        [ "ExamplesForHomalg", "2017.05.25" ], 
        [ "FactInt", "1.5.4" ], [ "FGA", "1.3.1" ], 
        [ "FinInG", "1.3.3" ], [ "float", "0.7.6" ], 
        [ "FORMAT", "1.3" ], [ "Forms", "1.2.3" ], 
        [ "FPLSA", "1.1" ], [ "FR", "2.4.1" ], 
        [ "fwtree", "1.0" ], [ "GAPDoc", "1.6" ], 
        [ "Gauss", "2017.06.14" ], 
        [ "GaussForHomalg", "2015.11.06" ], 
        [ "GBNP", "1.0.3" ], 
        [ "GeneralizedMorphismsForCAP", "2017.07.25" ], 
        [ "genss", "1.6.4" ], 
        [ "GradedModules", "2017.05.10" ], 
        [ "GradedRingForHomalg", "2017.05.26" ], 
        [ "GRAPE", "4.7" ], [ "groupoids", "1.51" ], 
        [ "GrpConst", "2.5" ], [ "Guarana", "0.94" ], 
        [ "GUAVA", "3.13" ], [ "HAP", "1.11.15" ], 
        [ "HAPcryst", "0.1.11" ], [ "HAPprime", "0.6" ], 
        [ "hecke", "1.4" ], [ "HeLP", "3.1" ], 
        [ "homalg", "2017.05.10" ], 
        [ "HomalgToCAS", "2017.08.01" ], [ "idrel", "2.34" ], 
        [ "IntPic", "0.2.1" ], [ "IO", "4.4.6" ], 
        [ "IO_ForHomalg", "2017.07.01" ], 
        [ "IRREDSOL", "1.4" ], [ "ITC", "1.4" ], 
        [ "json", "1.1.0" ], [ "kan", "1.27" ], 
        [ "kbmag", "1.5.4" ], [ "LAGUNA", "3.7.0" ], 
        [ "liealgdb", "2.1" ], [ "LiePRing", "1.8" ], 
        [ "LieRing", "2.3" ], [ "linboxing", "0.5.2" ], 
        [ "LinearAlgebraForCAP", "2017.07.25" ], 
        [ "LocalizeRingForHomalg", "2017.07.17" ], 
        [ "loops", "3.3.0" ], [ "lpres", "0.4.1" ], 
        [ "MapClass", "1.2" ], [ "matgrp", "0.4" ], 
        [ "MatricesForHomalg", "2017.08.02" ], 
        [ "ModIsom", "2.3.3" ], 
        [ "ModulePresentationsForCAP", "2017.07.25" ], 
        [ "Modules", "2017.07.17" ], [ "Nilmat", "1.2" ], 
        [ "NormalizInterface", "0.9.8" ], [ "nq", "2.5.3" ], 
        [ "NumericalSgps", "1.0.1" ], [ "OpenMath", "11.4.2" ], 
        [ "orb", "4.7.6" ], [ "ParGAP", "1.4.0" ], 
        [ "PatternClass", "2.3" ], [ "permut", "1.03" ], 
        [ "Polenta", "1.3.7" ], [ "Polycyclic", "2.11" ], 
        [ "PolymakeInterface", "2015.01.26" ], 
        [ "polymaking", "0.8.1" ], [ "profiling", "1.3.0" ], 
        [ "qaos", "1.5" ], [ "QPA", "1.26" ], 
        [ "QuaGroup", "1.8" ], [ "RadiRoot", "2.7" ], 
        [ "RCWA", "4.5.1" ], [ "RDS", "1.6" ], 
        [ "recog", "1.2.5" ], [ "recogbase", "1.2.5" ], 
        [ "Repsn", "3.0.2" ], [ "ResClasses", "4.6.0" ], 
        [ "RingsForHomalg", "2017.08.02" ], 
        [ "SCO", "2015.11.06" ], [ "SCSCP", "2.2.2" ], 
        [ "Semigroups", "2.8.0" ], [ "SglPPow", "2.0" ], 
        [ "SgpViz", "0.998" ], [ "simpcomp", "2.1.6" ], 
        [ "singular", "12.04.28" ], [ "SLA", "1.2" ], 
        [ "Smallsemi", "0.6.11" ], [ "SONATA", "2.8" ], 
        [ "Sophus", "1.23" ], [ "SpinSym", "1.5" ], 
        [ "SymbCompCC", "1.2" ], [ "TomLib", "1.2.6" ], 
        [ "ToolsForHomalg", "2017.05.10" ], 
        [ "Toric", "1.9.4" ], 
        [ "ToricVarieties", "2012.12.22" ], 
        [ "unipot", "1.2" ], [ "UnitLib", "3.2.0" ], 
        [ "Utils", "0.46" ], 
        [ "Wedderga", "4.7.3" ], [ "XGAP", "4.26" ], 
        [ "XMod", "2.62" ], [ "XModAlg", "1.12" ], 
      ]);

Alternatively, if you are connected to the Internet, you may call the function CheckForUpdates provided by the IO package which will call SuggestUpgrades with the right arguments automatically.

Upgrading and Installing New Packages

If the procedure described above suggests upgrades, there are several possibilities.

One of them is to get the current archive of GAP 4.8.8 which will contain all latest versions of packages redistributed with GAP and repeat the full installation following instructions for a new installation.

If you wish only to install new versions of selected packages case by case, without changing other parts of your GAP installation, you need to retrieve individual package archives which are accessible via the package overview.

We recommend to install new versions of individual packages (and also to keep your ``private'' packages which are not redistributed with GAP) in your user specific GAP root directory. The name of this user specific directory depends on your operating system and can be found in GAPInfo.UserGapRoot (see GAP Root Directories). This way you will not keep your personal files in the main GAP root directory and will be able to upgrade GAP straightforwardly after the new release without a risk of your customisations being lost.

Finally, if you have used one of the alternative installation methods to install GAP, then you should check their update instructions to find out how to update your installation.