Resources Downloads Account Logout Contact
 
Resources
 

While it is possible to install packages against our repository, it is also possible to mirror our package repository and install against the local mirror using pkg-inst. This will significantly decrease the time required to download the package from the repository to the installation host. Mirroring is done over http using the wget tool. The repository URL is "http://updates.thewrittenword.com". The following variables can be used as part of the GET request encoded in the URL (examples below):

Variable Description
dist Name of distribution to update. Multiple distributions can be specified by using "dist" multiple times. This option is only applicable for customers receiving more than one distribution type. If not specified, all distributions you are subscribed to are used to select packages.
dist-ver Distribution version. The special value "latest" specifies the latest distribution version. If no distribution version is specified, all versions for which you are subscribed are used.
update-type Update type (possible choices are "errata" for errata to packages shipped with a release, "packages" for packages shipped with a release, "security" for security fixes, "support" for the pbutils, pkgutils, and sbutils software, "test" for packages in testing that are not of "production" quality, and "updates" for new and updated packages since the last release). Multiple update types can be specified by using "update-type" multiple times. The default update types are "errata", "packages", "security", "support", and "updates".
systype System type. Possible choices:
AIX 5.3    powerpc-ibm-aix5.3.0.0
AIX 6.1    powerpc-ibm-aix6.1.0.0
AIX 7.1    powerpc-ibm-aix7.1.0.0
HP-UX 11.11    hppa1.1-hp-hpux11.11
HP-UX 11.23/PA    hppa2.0-hp-hpux11.23
HP-UX 11.23/IA    ia64-hp-hpux11.23
HP-UX 11.31/PA    hppa2.0-hp-hpux11.31
HP-UX 11.31/IA    ia64-hp-hpux11.31
RHEL 4/x86    i686-redhat-linuxe4
RHEL 4/x86_64    x86_64-redhat-linuxe4
RHEL 5/x86    i686-redhat-linuxe5
RHEL 5/x86_64    x86_64-redhat-linuxe5
RHEL 6/x86    i686-redhat-linuxe6
RHEL 6/x86_64    x86_64-redhat-linuxe6
RHEL 7/x86_64    x86_64-redhat-linuxe7
Solaris 8/SPARC    sparc-sun-solaris2.8
Solaris 9/SPARC    sparc-sun-solaris2.9
Solaris 10/SPARC    sparc-sun-solaris2.10
Solaris 10/Intel    i386-pc-solaris2.10
Solaris 11/SPARC    sparc-sun-solaris2.11
Solaris 11/Intel    i386-pc-solaris2.11

Multiple system types can be specified by using "systype" multiple times. If no systype type is specified, the default is to use all system types for which you are subscribed to.

In the examples below, "/tmp/mirror" is the path we use to mirror the repository to and "login" and "password" are the login and password given to you with your initial order.

A sample command-line invocation to retrieve all updates for all system types you are subscribed to for the latest distribution would be:
  $ wget -r -N -nH -l inf -P /tmp/mirror -np --http-user=login \
  --http-passwd=password 'http://updates.thewrittenword.com/?dist-ver=latest'

For a specific update type and system type:
  $ wget -r -N -nH -l inf -P /tmp/mirror -np --http-user=login \
  --http-passwd=password 'http://updates.thewrittenword.com/?\
  dist-ver=latest&update-type=errata&systype=sparc-sun-solaris2.10'

For multiple update types and system types:
  $ wget -r -N -nH -l inf -P /tmp/mirror -np --http-user=login \
  --http-passwd=password 'http://updates.thewrittenword.com/?\
  dist-ver=latest&update-type=errata&update-type=security&\
  systype=mips-sgi-irix6.5&systype=hppa2.0-hp-hpux11.23'

Once wget completes the downloads, a directory structure similar to the following will be created:
  /tmp/mirror/cd/dists/9.0/errata/...
  /tmp/mirror/cd/dists/9.0/updates/hppa2.0-hp-hpux11.23/...
  /tmp/mirror/cd/dists/9.0/updates/mips-sgi-irix6.2/...
  /tmp/mirror/cd/dists/9.0/updates/sparc-sun-solaris2.10/...
  /tmp/mirror/cd/dists/9.0/updates/...
  /tmp/mirror/cd/dists/9.0/security/...

Installation against the local mirror is similar to installation against a remote repository:
  # /opt/TWWfsw/bin/pkg-inst --depot=/tmp/mirror \
  --dist-ver=latest package [package ...]

 
Resources
Release Notes
Getting Started
Package Utilities Suite
Package Internals
Mirroring Repository
GPG Public Key