Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/packagemanager/doc/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 14.4.2025 mit Größe 5 kB image not shown  

Quelle  chap1.html   Sprache: HTML

 
 products/Sources/formale Sprachen/GAP/pkg/packagemanager/doc/chap1.html


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>GAP (PackageManager) - Chapter 1: Introduction</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="generator" content="GAPDoc2HTML" />
<link rel="stylesheet" type="text/css" href="manual.css" />
<script src="manual.js" type="text/javascript"></script>
<script type="text/javascript">overwriteStyle();</script>
</head>
<body class="chap1"  onload="jscontent()">


<div class="chlinktop"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chapInd.html">Ind</a>  </div>

<div class="chlinkprevnexttop"> <a href="chap0.html">[Top of Book]</a>   <a href="chap0.html#contents">[Contents]</a>    <a href="chap0.html">[Previous Chapter]</a>    <a href="chap2.html">[Next Chapter]</a>   </div>

<p id="mathjaxlink" class="pcenter"><a href="chap1_mj.html">[MathJax on]</a></p>
<p><a id="X7DFB63A97E67C0A1" name="X7DFB63A97E67C0A1"></a></p>
<div class="ChapSects"><a href="chap1.html#X7DFB63A97E67C0A1">1 <span class="Heading">Introduction</span></a>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap1.html#X7DE60E5D836ED9FC">1.1 <span class="Heading">What does the <strong class="pkg">PackageManager</strong> package do?</span></a>
</span>
</div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap1.html#X8323508781A076AB">1.2 <span class="Heading">What does the <strong class="pkg">PackageManager</strong> package not do?</span></a>
</span>
</div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap1.html#X8195CF9E84431EB8">1.3 <span class="Heading">A quick example</span></a>
</span>
</div>
</div>

<h3>1 <span class="Heading">Introduction</span></h3>

<p><a id="X7DE60E5D836ED9FC" name="X7DE60E5D836ED9FC"></a></p>

<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</codefile. 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>

<p><a id="X8323508781A076AB" name="X8323508781A076AB"></a></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><a id="X8195CF9E84431EB8" name="X8195CF9E84431EB8"></a></p>

<h4>1.3 <span class="Heading">A quick example</span></h4>

<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>


<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">LoadPackage("PackageManager");</span>
</pre></div>

<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 <strong class="pkg">Digraphs</strong> package, use the following:</p>


<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">InstallPackage("digraphs");</span>
</pre></div>

<p>To uninstall it later, use the following:</p>


<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">RemovePackage("digraphs");</span>
</pre></div>

<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>


<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">InstallPackage("https://github.com/gap-packages/curlInterface.git");</span>
</pre></div>


<div class="chlinkprevnextbot"> <a href="chap0.html">[Top of Book]</a>   <a href="chap0.html#contents">[Contents]</a>    <a href="chap0.html">[Previous Chapter]</a>    <a href="chap2.html">[Next Chapter]</a>   </div>


<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chapInd.html">Ind</a>  </div>

<hr />
<p class="foot">generated by <a href="https://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
</body>
</html>

99%


¤ Dauer der Verarbeitung: 0.20 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.