Prior to selection of software to install, an analysis of available disk space is recommended. For example, HP-UX runs a process known as 'Disk space Analysis' (DSA) to determine if a host's available disk space is sufficient for the selected products to be installed. Likewise most vendor software installation utilities check the availability of sufficient disk space before installing each software.
Solaris 2.5 system software is delivered in units known as packages. A package is a collection of files and directories required for a software product.
To simplify the installation and maintenance task a graphical user interface program is available through the admintool. From the 'Browse' menu select 'Software'. A list of software currently installed will then be displayed. Sun packages always begin with the prefix SUNW as in SUNWvolr and SUNWadmap. Third-party packages usually begin with a prefix that corresponds to the company's stock symbol.
To delete software, mark appropriate items from the software list and select 'Delete' from the 'Edit' menu.
To add software, select 'Add' from the 'Edit' menu and insert the CD into the drive. A File Manager with the CD directory will pop up. Select the desired software package from the directory. The files pkginfo and pkgmap within the package folder might be of interest. pkginfo would have basic information on the package and pkgmap would have a detailed list of every file within the package. Specify the complete path to the directory containing the packages as the 'CD Path'. Select the package(s) to add and click 'Add'. The interactive installation procedure will then begin. If there is insufficient space available on the target system, the 'Space Meter' window is displayed.
The command line utilities pkgadd and pkgrm are also available to add and remove software packages.
For additional recommended reading please refer "System Administration Guide", Volume I, Part 5 "Managing Software" within the "Solaris 2.5 System Administrator AnswerBook".
All HP-UX 10.0 OS software is packaged in bundles. A bundle is a collection of filesets, possibly from several different products, that are encapsulated for a specific purpose. (A fileset is a collection of files, the smallest software unit which the SD-UX Software Distribution Commands can manage. A product is a collection of filesets that directly relates to a specific software.)
Bundling the products makes it easy to treat several filesets as a single entity using the SD-UX Software Distribution commands. By specifying a bundle, all filesets under that bundle are automatically included in the operation. In general performing a single operation on a bundle is the same as performing it individually on all the filesets listed in the bundle.
Bundles do not eliminate the ability to "pick and choose" the products and filesets to install. The swinstall utility can be used to install an individual product, and swremove to remove it.
There are two major OS bundles in the 10.0 system - the Desktop bundle (Series 700 only) and the Runtime bundle. The HP-UX 10.0 Desktop bundle is a minimal "client" system. It does not include all of the products and filesets found in a fully complete Runtime bundle.
The HP-UX 10.0 Product Media contains several bundles, products, sub-products and filesets. For example, it will have the Core HP-UX 10.0 product plus many other application products and filesets. There are two types of software on the Product Media: protected and unprotected. To access any protected software, it is necessary to enter an authorized codeword in the Codeword Entry Dialog screen of the Cold Install User Interface. The codeword usually appears on the Software Certificate that comes the software. To access unprotected software, no codeword is required.
The HP-UX's software management commands called SD-UX (Software Distributor-UX), are used to manage software on local host. (To install and manage software on multiple remote hosts, use the HP OpenView Software Distributor.) The SD-UX commands include swinstall, swcopy, swremove, swlist, swconfig, swverify, swreg, swmodify, swpackage and swacl. A brief overview of these SD-UX commands is presented here for optional reading.
The HP-UX software distribution source may be a 'Tape Depot', a tape formatted as a tar archive, or a 'Directory Depot', a filesystem mounted on a 'Network Server'. The Unix Workstation Support Group maintains a network server for HP-UX software distribution. Contact uwsg@indiana.edu for the names of the software 'Directory Depot' and the 'Depot Host'.
To install the software over the network using Graphical User Interface, type: /usr/sbin/swinstall. Specify the 'Depot Host', 'Depot Directory' and the 'Software View' (the level of software objects that is to be listed). A list of software available for download will be displayed. Highlight the desired items. Double clicking on any item in the list would list its contents, expanding a bundle to products, subproducts, filesets, files and additional software description. From the 'Action' menu first choose 'Mark' and then 'Install'. Choosing 'Install' starts an installation analysis which includes an analysis of the disk space. When the analysis is done and the status of the host is "Ready" press 'OK' to start the installation.
The SD-UX command /usr/sbin/swlist may be used to list the software currently installed on the local host. Enter the command swlist -l fileset to list installed files sets, and swlist -l file fileset to list the files within the specified fileset.
The Graphical User Interface to remove an installed software may be started by typing /usr/sbin/swremove. View the files file sets by double clicking the bundle. Highlight the fileset. From the 'Action' menu select "Show Description.." or "Mark for Remove" and "Remove" as necessary.
Silicon Graphics software is distributed on compact discs (CDs). A CD contains one or more software products and any special tools that the products require for installation. During the software installation, the distribution software, which has an encoded format, is transfered to a hard disk in a format that is usable. SGI offers two user interfaces for software installation; a graphical interface, called "Software Manager" (documented in the "Personal System Administration Guide"); and a command line interface, called "Inst" (documented in "Software Installation Administrator's Guide". IRIX system administrators should be familiar with at least one of the above procedures.
Software manager, is started from the Toolchest (System->Software Manager).
To view or remove installed software, click the button marked "Manage Installed Software". A list of all installed 'products' will be displayed. Opening a product folder would display the 'subsystems' list and the opening the 'subsystems' folder would display the list of files. The disk space used by each installed product, subsystem and file as well as the total disk space used and available would also be noted. To remove an installed object, mark the object(s) to be removed by clicking the check boxes under the "Remove" column. To de-install the selected object(s) press the "Start" button.
To install new software specify the location of the software in the window marked "Available Software". Software may be installed from the Unix Workstation Support Group's network distribution server. To obtain access to the server contact the UWSG. The location of the SGI software distribution on the uwsg server is guest@sgi.ucs.indiana.edu:/IRIX/5.3/VP/dist. After identifying the distribution source, press the "Customize Installation" button. Wait for the information to be loaded, then review the available software and select the products for installation. Check the available disk space. To begin installation press the "Start" button.
Installing Linux Slackware packages is almost automatic using the setup.8 command. setup is totally menu driven and quite easy to use. It calls pkgtool to install software packages from the hard drive, CD, NFS, or floppy disks. The procedure is described in the recommended reading, "Installing the software" in the guide "Linux Installation and Getting Started" by Matt Welsh. For additional optional reading see "Linux Installation HOWTO" available from "The Linux Documentation Project".
The command explodepkg package extracts the contents of a tar+GNUzip package (such as a Slackware software package) in the current directory.
The command installpkg -r package may be used to install the contents of the current directory and its subdirectories as a package with the name package