pkg install notes

pkg-get is a tool to automate download and installation of binary packages from archive sites that support it.
This tool simplifies fetching the latest version of a package from compatible sites to be as simple as

# pkg-get install gcc
This will automatically download the appropriate version for your architecture and OS revision (if available), and install the package. If you have an older version of the package already installed, using ‘upgrade’ instead of ‘install’ will replace the older version with a newer one, if available.

If the archive supports dependancies, pkg-get will also download any needed dependancies. For example

pkg-get install mod_php
should triger an automatic
pkg-get install apache
which in turn should automatically trigger
pkg-get install openssl

Downloading pkg-get

For the newer pkg-get version 2, that supports the latest features like a descriptions file, go to
blastwave.org’s pkg-get download page
The older version of pkg-get can be obtained by SHIFT-clicking on:

BOLTpget.pkg v1.9.9 (last update, Dec 6, 2002)

Occasionally, there have been problems downloading the .pkg file. If you cannot download the .pkg file, shift-click to download this UU-Encoded Version. run uudecode BOLTpget.pkg.uue, and you will then have the BOLTpget.pkg file
Once downloaded, install with

# pkgadd -d BOLTpget.pkg
and run ‘pkg-get -U’ to initialize the local catalog of available packages, after tweaking the url in pkg-get.conf Then you’re all set to go!

From : pkg-get

insert cd 1of 4 and go to /cdrom/cdrom0//Solaris_8/Product
The package might be any of the 4 CD’s, I’ve moved onto DVD’s, sorry.
Then:
# pkgadd -d . SUNWman
This should then add the package to your system.
Add the location to the your ~/.profile as MANPATH= ; export MANPATH
After that run:
# catman -w
This will build the man page catalogs so you can use the “-k” option to search the pages.
The catman command may take a few minutes to return.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.