stklos-pkg is the command which gives access to ScmPkg in STklos. This is the only command necessary to manage ScmPkg packages. For instance, this command manages a local cache of the ScmPkg server, permits (de)installation of ScmPkg packages, the test of packages, ...
To start, we can synchronize our local repository with the ScmPkg servers. This can be done by the following command:
$ stklos-pkg --sync
Installation of package PKG, just enter the following command:
$ stklos-pkg --install PKG
This will
- download the packages PKG, as well as the packages it depends on in a temporary directory,
- compile PKG
- install the package
A simple usage of the package PKG could be
(require "PKG")
(import PKG)
in your source file.
A more complete introduction to ScmPkg can be found in the standard STklos documentation
