<h4>1.1 <span class="Heading">What does the <strong class="pkg">PackageManager</strong> package do?</span></h4>
<p>This package provides the ability to install or remove a package using a single command: <code class="func">InstallPackage</code> (<a href="chap2.html#X81A6FF1B81D004BA"><span class="RefLink">2.1-1</span></a>) or <code class="func">RemovePackage</code> (<a href="chap2.html#X8011AC33841B515C"><span class="RefLink">2.1-3</span></a>). The user can specify a package to install using its name, or using a URL to an archive, a repository, or a <code class="code">PackageInfo.g</code> file. When installing, <strong class="pkg">PackageManager</strong> also attempts to compile the package, build its documentation if necessary, and ensure that its dependencies are also installed.</p>
<h4>1.2 <span class="Heading">What does the <strong class="pkg">PackageManager</strong> package not do?</span></h4>
<p>At present, <strong class="pkg">PackageManager</strong> is fairly basic, without many of the advanced features available in package managers such as pip or apt. For instance, the user cannot update all packages in one command. Removing a package will not remove any of its dependencies, since we do not track how packages were installed. When a package is installed, no tests are run to ensure that it is compatible with the installed version of GAP. Any of these features might be added in the future. Other feature requests can be posted on the issue tracker at <span class="URL"><a href="https://github.com/gap-packages/PackageManager/issues">https://github.com/gap-packages/PackageManager/issues</a></span>.</p>
<p><strong class="pkg">PackageManager</strong> is distributed with GAP, so it should already be available on your system. To load the package, call:</p>
<p><strong class="pkg">PackageManager</strong> also supports version control repositories. To install the latest version of the <span class="URL"><a href="https://github.com/gap-packages/curlInterface.git">curlInterface package from GitHub</a></span>, use the following:</p>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.