<!-- This is an automatically generated file. -->
<Chapter Label="Chapter_Introduction">
<Heading>Introduction</Heading>
<P/>
<Section Label="Chapter_Introduction_Section_What_does_the_PackagePackageManagerPackage_package_do">
<Heading>What does the <Package>PackageManager</Package> package do?</Heading>
<P/>
This package provides the ability to install or remove a package using a single
command: <Ref Func="InstallPackage" /> or <Ref Func="RemovePackage" />. The
user can specify a package to install using its name, or using a URL to an
archive, a repository, or a <C>PackageInfo.g</C> file. When installing,
<Package>PackageManager</Package> also attempts to compile the package, build its documentation if
necessary, and ensure that its dependencies are also installed.
<P/>
</Section>
<Section Label="Chapter_Introduction_Section_What_does_the_PackagePackageManagerPackage_package_not_do">
<Heading>What does the <Package>PackageManager</Package> package not do?</Heading>
<P/>
At present, <Package>PackageManager</Package> 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 <URL>https://github.com/gap-packages/PackageManager/issues</URL>.
<P/>
</Section>
<P/>
<Package>PackageManager</Package> is distributed with GAP, so it should already
be available on your system. To load the package, call:
<P/>
<Example><![CDATA[
gap> LoadPackage("PackageManager");
]]></Example>
<P/>
Note that you'll need to do this in each session when you want to use the package manager.
<P/>
To install the latest deposited version of the <Package>Digraphs</Package>
package, use the following:
<P/>
<Example><![CDATA[
gap> InstallPackage("digraphs");
]]></Example>
<P/>
To uninstall it later, use the following:
<P/>
<Example><![CDATA[
gap> RemovePackage("digraphs");
]]></Example>
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.