Skip to content

Commit

Permalink
Make the doc slightly clearer for newbies
Browse files Browse the repository at this point in the history
  • Loading branch information
mtorpey committed Aug 30, 2024
1 parent 75f3d71 commit 641fc55
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions doc/intro.autodoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,32 @@ at <URL>https://github.com/gap-packages/PackageManager/issues</URL>.

@Section A quick example

<Package>PackageManager</Package> is distributed with GAP, so it should already
be available on your system. To load the package, call:

@BeginExample
LoadPackage("PackageManager");
@EndExample

Note that you'll need to do this in each session when you want to use the package manager.

To install the latest deposited version of the <Package>Digraphs</Package>
package, use the following:

@BeginExample
LoadPackage("PackageManager");
InstallPackage("digraphs");
@EndExample

To uninstall it later, use the following:

@BeginExample
LoadPackage("PackageManager");
RemovePackage("digraphs");
@EndExample

<Package>PackageManager</Package> also supports version control repositories. To install the
latest version of the <URL Text="curlInterface package from GitHub">https://github.com/gap-packages/curlInterface.git</URL>, use the following:

@BeginExample
LoadPackage("PackageManager");
InstallPackage("https://github.com/gap-packages/curlInterface.git");
@EndExample

Expand Down

0 comments on commit 641fc55

Please sign in to comment.