MERIDIAN DATA SYSTEMS // ENVIRONMENT

package-manager

DOCUMENT TYPE: SYSTEM REFERENCE NODE: package-manager 68 DOCUMENTS
MDS://KNOWLEDGE/ENVIRONMENT/package-manager
PACKAGE MANAGER
===============

Use pkg to browse and install stock software on the current virtual computer.
Installing a package places its files in the package's standard location.

FIND PACKAGES
-------------
    pkg list
    pkg versions <package>
    pkg info <package[@version]>
    pkg fetch <package[@version]> [path]
    pkg install <package[@version]>

With no version, pkg selects the newest published release. pkg info shows
the package type and default install path. pkg fetch downloads a package file
to your current directory; pkg install places its files in their standard
locations.

INSTALL AN APPLICATION
----------------------
The IRC application is named irc and installs as /bin/irc:

    pkg info irc
    pkg fetch irc
    pkg install irc
    irc

INSTALL SERVICE SOFTWARE
------------------------
Use package information to find the service software and its install path:

    pkg info mds-echo
    pkg fetch mds-echo
    pkg install mds-echo

pkg fetch saves a package file in the current directory and is optional.
pkg install places the software files in their standard location. Installing
service software does not create or start a service instance; see help services
to create and start one.