Administration Application Reference Manual
  Suchtext Nur in diesem Buch
Dieses Buch im PDF-Format herunterladen

Software Manager Reference

12

This chapter provides reference information for the Software Manager.

Internal bitmap(501x42)

Use this table to find information about specific Software Manager features.
Using Software Managerpage 144
Software Manager Main Menu Windowpage 145
File Menu Commandspage 146
View Menupage 149
Edit Menupage 151
Props Menupage 151
Source Mediapage 152
Package Administration Windowpage 154
Current Product Category Windowpage 161
Browser Display Windowpage 163
Remote Hosts Windowpage 165

Using Software Manager

When to Use Software Manager

Use Software Manager to:
  • Save configuration files
  • Select software to install or remove from the local machine
  • Display a graphical overview of storage space used by a file system

Requirements for Using Software Manager

The requirements for using Software Manager are:
  • A bit-mapped display monitor
  • Ability to use the OpenWindows environment
  • Access privileges as described in Chapter 1, "Administration Tool Overview"

Alternatives to Using Software Manager

Software Manager cannot be used on an ASCII terminal. If needed, all software-related tasks can be performed using the package administration commands. Table 12-1 provides more information about choosing to use package administration commands or Software Manager.
Table 12-1
Use Software Manager If You:Use Package Administration Commands If You:
Have a bit-mapped display monitorAre using an ASCII terminal
Are running OpenWindowsWant output for each command issued

Window, Menu, and Command Descriptions

Software Manager Main Menu Window

The Software Manager main window lists the software applications available for installation or removal. It has three areas: a main control panel, a level display, and a software selection area.

Imported image(504x230)

Main Control Panel

The main control panel contains menu items that allow you to take specific actions and bring up other windows and options. In addition, the main control panel contains the Category field which displays the product. (See "Current Product Category" on page 161 for more information about the product category.)

Level Display

The level display uses icons to represent the software available for installation or removal. The level display lists the software in a hierarchic view, allowing easy movement among levels of the hierarchy.

The Software Selection Area

The software selection area displays the software in the current distribution. In this window, you select the software you want to install or remove.
In the bottom area of the window, Software Manager displays the software modules found in the active software distribution. The format of this display is controlled by the Software Manager's display properties. See "Browser Display Window"on page 163 for more information.
You can limit the number of modules displayed by using the Current Product Category window (see page 161).
The border of each module's icon shows whether any version of that module is currently installed on the local system. The three possible border types are listed in Table 12-2.
Table 12-2
Icon BorderDescription
NoneNo version of the module is installed on the local system.
SolidThe version of the module being examined is already installed on the local system.
Broken
or Dashed
The version of the module being examined is different from the
version of the module already installed.
To select a module for installation or removal, click on the module icon. Selected items appear in reverse video (white on black).
Pressing MENU (right) mouse button while the pointer is positioned over a module displays the Software menu:

Internal bitmap(504x100)

Table 12-3 describes the Software menu commands, some of which may not be active (they will be grayed out), depending on the module's type.
Table 12-3
CommandUse This Command To...
Package PropertiesDisplay a pop-up window containing additional statistics describing the module.
Select LocalizationsChoose which localizations to install or remove.
Read About(If active) See more information about the module. (Drag the mouse to the right of this command to display a menu containing additional textual descriptions of the module.)
Run(If active) Run a demonstration of the module. (Drag the mouse to the right of this command to display a menu containing the names of executable demonstrations of the module.)
Set Base DirectorySpecify the directory in which a software module should reside. If the module is a cluster, all its components will be installed relative to this root directory.
Expand(If active) View and select a cluster's individual components. Double-clicking on a cluster also expands it.
Double-clicking over a software cluster expands the cluster into a scrolling list of its software packages. Double-clicking while the cursor is positioned over a software package displays the package's property sheet. The following figure shows an example property sheet.

Internal bitmap(504x316)

File Menu Commands

The Software Manager's main window File menu commands are summarized in Table 12-4.
Table 12-4
CommandUse This Command To...
SaveSave the configuration file. The default path is ./.swmrc. If you used the command line to specify a configuration file, pressing Save in the File menu saves the configuration file you specified on the command line (with the -c option).
Save asSave the current configuration file as a new file with a new name. Specify the directory path and the name of the configuration file.

View Menu

The View menu commands are summarized in the following table.
Table 12-5
CommandUse This Command To...
Prev LevelReverse the Expand command. Use this command after you have expanded a software cluster in either the software selection or level display areas. Returning to the previous level enables you to view and select the modules contained in the cluster you most recently expanded
Command WindowDisplay the window in which Software Manager executes programs. The most important are pkgadd and pkgrm, the package installation and removal commands.
Space MeterDisplay a window that shows a graphical overview of storage space used by file systems. The Space Meter window shows how many megabytes a file system uses, and how many megabytes are free.
Space Meter Window The Space Meter window indicates how much disk space is required to install the selected software or how much disk space would become available after you remove selected software. The meter automatically displays the first time you select a software module for which there is insufficient disk space.

Internal bitmap(369x198)

Table 12-6 lists and describes the columns in the meter.
Table 12-6
FieldDescription
File System (left column)Mount point name. Software Manager tracks several possible mount points and calculates space totals for those that correspond to actual mount points on your system. Names that are not mount points are grayed out.
Percentage
Used
(the meter)
Graphically represents the combined percentage of disk space used
and disk space required to install selected software.
Mb UsedTotal, in megabytes, of the amount of disk space currently in use plus that required to install selected software.
Mb FreeAmount of free space, in megabytes, that would remain in each file system after installation of any selected software. A negative value indicates the program estimates insufficient space is available for the selected software.

Edit Menu

The Edit menu enables you to add client support software and selecting or deselecting groups of software packages.
Table 12-7 summarizes Edit menu commands.
Table 12-7
CommandUse This Command To...
Native EnvironmentSelect software to install or remove from the local machine.
Add Client SupportAdd support (services) for diskless clients.
Select AllSelect all modules matching the current category.
Deselect AllDeselect all modules currently selected.

Note - Deselect All behaves differently than Select All. Deselect All will deselect all modules, visible or not, whereas Select All selects only modules that match the current software category.

Props Menu

The Props menu invokes the Properties window, which you can use to save or edit the configurable properties of Software Manager. The Properties window contains the following categories:
  • Source Media
  • Package Administration
  • Current Product Category
  • Browser Display
  • Remote Hosts
The following sections describe each of these categories.

Source Media

The Source Media category lets you specify the physical format (type), and name (device name or directory name) of the software distribution you want to examine. Table 12-8 on the following page describes the menu items in the Source Media window.

Internal bitmap(378x182)

.
Table 12-8
ItemDescription
Media TypeSpecifies the physical format of the software distribution you intend to examine. The Software Manager supports two types of formats: CD-ROM - Use this setting to examine a software distribution from a locally attached CD-ROM device not yet mounted as a local file system. Directory - Use this setting if your software distribution has already been locally mounted. If your software is CD-based and you do not have a local CD-ROM device, you will need to use this setting and mount the disk manually, using NFS(R).
Device NameSpecifies the name of the device containing the software distribution. Use this field if you indicated your software is CD-based. For a standard local CD-ROM device, the default device, /dev/dsk/c0t6d0s0, should suffice. The device name you specify must not be mounted or must have been mounted from within Software Manager. Consult the documentation included with your software product for further information.
Directory NameSpecifies the location of a mounted software distribution. Use this field if you indicated your software is already mounted. Enter the path name of the distribution. Press the Return key after entering your text to begin the load operation.

Note: This path can be relative; however, Software Manager does not recognize the home directory expansion character, tilde (~).


Note - You must set Media Type to Directory and use the Directory Name field if Volume Management controls the device you want to use. By default, Volume Management automatically mounts the CD-ROM.

Package Administration Window

Internal bitmap(369x400)

The Package Administration window contains menu items that allow you to set Package Administration options. Status messages may be displayed at the bottom of the window. The fields and options are discussed in the following pages.

Mail Recipients Field

The Mail Recipients list contains the mail addresses of people who should be informed about the installation or removal of a package. Enter the name of a recipient in the Recipient Name field and use the buttons listed in Table 12-9 to update the list.
Table 12-9
ButtonDescription
AddAdds an address to the recipient list.
DeleteDeletes an address from the recipient list. To delete an address from
the list, select the address and click on the Delete button.
ChangeModifies an address already in the recipient list. To change an address, select the address and enter the new address in the Recipient Name field. Click on Change.

Recipient Name Field

Use the Recipient Name field to specify the mail address of a recipient.

Existing Files Options

Use the Existing Files options to control attempts to overwrite existing files. The options are described in Table 12-10.
Table 12-10
OptionUse This Option To...
AskReceive a confirmation prompt before existing files are overwritten.
OverwriteReplace existing files with the version contained in the package.
SkipInstall new files but skip installation of files that already exist.
AbortAbort the operation without making any changes to the system if it detects conflicts with existing files.

Existing Packages Options

Use the Existing Packages options to control attempts to install packages more than once. The options are described in Table 12-11.
Table 12-11
OptionUse This Option To...
AskReceive a confirmation prompt before any attempt to install a package that has already been installed. (This check is based on package name.)
OverwriteInstall packages in place of any previous installations. Note that you are only allowed to reinstall the package "on top" of the old one. You are not allowed to install the package in a different location.
Install UniqueInstall packages as uniquely named instances, if they are installed already. Note that this option may overwrite existing files. This option is useful if you are installing packages that are architecture- or locale-specific pieces of a product, or if you want to install a new version of a previously installed package in a different location.
AbortAbort the operation without making any changes to the system if you attempt to install a package more than once.

Existing Partial Installation Options

Use the Existing Partial Installation options to control attempts to reinstall a partially installed package. The options are described in Table 12-12.
Table 12-12
OptionUse This Option To...
AskReceive a confirmation prompt before any attempt to reinstall a
partially installed package.
IgnoreIgnore previous attempts to install the package, overwriting any previous partial installations.
AbortAbort the operation if Software Manager detects a previous partial installation. In this case, Software Manager will not make any changes to the system.

Install Setuid/Setgid Files Options

Use the Install Setuid/Setgid Files options to control attempts to install files with set-ID bits activated. The options are described in Table 12-13.
Table 12-13
OptionUse This Option To...
AskReceive a confirmation prompt before attempts to install a file with setuid or setgid bits activated.
YesInstall files regardless of the states of their setuid and setgid bits.
NoInstall setuid and setgid files with their setuid and setgid bits turned off.
AbortAbort the operation without making any changes to the system if Software Manager detects an attempt to install setuid or setgid files.

Run Setuid/Setgid Scripts Options

Some packages contain scripts to be executed after the package is installed or removed. These "action" scripts potentially impact system security if their setuid or setgid bits are enabled. Use the Run Setuid/Setgid Scripts options to control attempts to run scripts with set-ID bits activated. The options are described in Table 12-14.
Table 12-14
OptionUse This Option To...
AskReceive a confirmation prompt before executing a setuid or setgid action script.
YesInstall packages regardless of the security impact of their action scripts.
AbortHalt the operation without making any changes to the system if the installation program encounters a package containing setuid or setgid action scripts.

Installation Dependencies Not Met Options

Use the Installation Dependencies Not Met options to control attempts to install packages without satisfying all prerequisites. The options are described in Table 12-15.
Table 12-15
OptionUse This Option To...
AskReceive a confirmation prompt before attempts to install a package
without all prerequisite packages installed.
IgnoreInstall a package even if all packages on which it depends have not been installed.
AbortAbort the operation without making any changes to the system if prerequisite packages are not completely installed.

Removal Dependencies Not Met Options

Use Removal Dependencies Not Met options to control attempts to remove packages required by other packages. The options are described in Table 12-16.
Table 12-16 Removal Dependencies Not Met Options in Package Administration
Window
OptionUse This Option To...
AskReceive a confirmation prompt before removing a package required by other packages.
IgnoreRemove a package even if it is required by other packages.
AbortAbort the operation without making any changes to the system if you attempt to remove a package required by other packages.

Incorrect Run Level Options

Use Incorrect Run Level options to control attempts to install packages when the system run level does not match the run level specified by the package. The options are described in Table 12-17.
Table 12-17
OptionUse This Option To...
AskReceive a confirmation prompt before installing a package with the system at a run level not specified in the package.
IgnoreInstall packages regardless of the current or specified run levels (installation of the package is still subject to other consistency checks).
AbortAbort without making any changes to the system if you attempt to install a package when the system's run level does not match one of those specified by the package.

Insufficient Space Options

Use the Insufficient Space options to control attempts to install packages for which there is insufficient space. The options are described in Table 12-18.
Table 12-18
OptionUse This Option To...
AskReceive a prompt before installing a package for which there is not enough disk space.
IgnoreInstall packages regardless of the amount of disk space available.
AbortAbort without making any changes to the system if you attempt to install a package for which there is not enough disk space.

Show Copyrights Field

Usually each software package comes with a long copyright notice that is displayed when the package is installed. This message can take a significant amount of time and resources to display. The Show Copyrights field controls the display of verbose messages like copyrights during package installation.
To see these copyright notices, select Yes, otherwise select No.

Install/Remove Interactively Field

Package installation and removal can either be interactive or noninteractive. If run interactively, the Software Manager will prompt you for appropriate action if any of several error or abnormal conditions arise. If you disable interactivity, these conditions result in the failure of the package operation in progress (other operations may proceed).
The Install/Remove Interactively field controls the ability to interact with package installation and removal commands.
If you would like to execute package installation and removal commands interactively, select Yes, otherwise select No.

Action Buttons

The buttons described in Table 12-19 inform the Software Manager of changes made in the Package Administration Properties window.
Table 12-19
ButtonDescription
ApplySave current Package Administration settings for use during the current session of software installation and removal. Saving current settings does not save the settings to a file; you must use the File menu items Save or Save As.
ResetReset Package Administration settings to match current program values. These values are those in force when you last pressed Apply or those taken from the program's configuration file (if you have not yet applied any changes).

Current Product Category Window

The Current Product Category window enables you to restrict to specific categories the software displayed in the Software Display area.

Internal bitmap(405x268)

Categories List

This list contains the software categories to which the modules in the currently active software distribution belong.
Software vendors can attach category names to the modules in their distributions. You may limit the number of modules displayed in the Software Selection area by selecting a category (the selected category will appear highlighted), then clicking on Apply. Only modules in the current category will be displayed. To display all modules, select All Software from the list, then click on Apply.

Action Buttons

Table 12-20 describes the Current Product Category Action buttons.
Table 12-20
ButtonDescription
ApplySaves the selected (highlighted) name as the currently active category.
ResetResets the Categories list to match the current category. This operation does not change the current category.

Browser Display Window

Internal bitmap(423x193)

Display Format

The Display Format option field is used to specify software modules are represented in the Software Selection area. The available formats are listed in Table 12-21.
Table 12-21
FormatUse This Mode To...
AutomaticInvoke the default display mode of the software module. If any module in the current display has an icon, all modules primarily display as icons. If a particular module does not have an icon, a generic icon is used. If no modules have icons, all modules are primarily displayed as text, with a small generic icon representing each module's type.
IconicForce all modules to be displayed as icons. If no icon is explicitly associated with a module, a generic icon is used.
TextualForce representation of modules as names. Each name is accompanied by a small generic icon that denotes the module's type (individual package or cluster) and an indication of the total amount of disk space required to install the module.

Name Length Options

This field specifies the format of module names in the Software Selection area. The formats are described in Table 12-22.
Table 12-22
FormatUse This Format To...
LongDisplay the full name of each module.
ShortDisplay the abbreviated name of each module. This format is useful if you are using multiple columns.

Number of Columns Field

This field specifies the number of columns used in text mode (1, 2, or 3).

Action Buttons

Table 12-23 describes the Browser Display window Action buttons.
Table 12-23
ButtonDescription
ApplyTemporarily saves the current display settings and updates the display. Note that this does not save the settings to a file; this must be done using the Props menu items Save or Save As.
ResetResets settings to match the display.

These values are those in force when you last pressed Apply, or those taken from the Software Manager's configuration file (if you have not yet applied any changes).

Remote Hosts Window

Internal bitmap(405x310)

The descriptions on the following pages explain the use of the fields and buttons shown in the Remote Hosts window.

Edit Menu

The Edit Menu, shown below, enables you to add, modify, or remove entries in the Target Hosts list.

Internal bitmap(405x71)

Toggle Selection

Pressing this button toggles between SELECTED and UNSELECTED in the Target Hosts list.

Clear

Pressing this button clears any entry in the Root Password field.

Note - For security reasons, clearing this field will not display the password.

Target Hosts List

The Target Hosts list contains the names of hosts on which software can be installed or removed. The Target Hosts list has three fields:
  • Machine Name
  • Machine Architecture
  • SELECTED/UNSELECTED
Use this list to specify hosts on which software is to be installed or removed. This is a three-step process that entails:
  1. Editing the list and add any desired hosts.

  2. Selecting hosts from the list.

  3. Pressing the Apply button.

Use the Mode setting to switch between host list editing and host selection. Each host name is accompanied by a small symbol indicating the host's status. See Table 12-24 for a description of the Target Hosts symbols and their meaning.
Table 12-24
Target Hosts glyph Meaning
Internal bitmap(88x25)

The host is up. Software Manager has the necessary permissions to install or remove software on this host.

Internal bitmap(88x16)

The host is down.

Internal bitmap(88x24)

The host is a known host on the network. Software Manager does not have the necessary permissions to install or remove software on this host.

Internal bitmap(88x24)

The host is not known to the network or the host is not a Solaris 2.x system.

Host Name Field

Use the Host Name field to specify the name of a new host. This field is used when you add and modify host entries.

Root Password Field

Use the Root Password field to specify the root password for the host identified in the Host Name field.
To execute programs on remote systems, Software Manager requires either a .rhosts entry on the remote system, or that you know the remote system's root password. If a root password is required, you will be notified by pop-up notices and the password-required symbol (a circle with a diagonal line) in the host list. In either case, the CONSOLE entry in /etc/default/login must be commented out.
Root passwords are not stored in the Software Manager configuration file. They are flushed each time you quit the Software Manager, to protect the security of the remote systems.

Action Buttons

After entering information on the remote hosts or selecting remote hosts, use the Action buttons at the bottom of the Remote Hosts window to update the Software Manager. These buttons are described in Table 12-25.
Table 12-25
ButtonDescription
ApplyCommit the host list and host selections to Software Manager. Subsequent installations and removals during this session will operate on the hosts selected in the order they appear in the list. Note that this does not save the list to a file; this must be done using the File menu items Save or Save As.
ResetResets the host list and host selection values to the values in force when you last clicked on Apply or the values from Software Manager's configuration file (if you have not yet applied any changes). Note that the file-based configuration does not save selection status or root passwords.

Install/Remove

Imported image(504x93)

The Install and Remove buttons on the Main Menu represent two modes of behavior for the Software Manager--installing or removing software. Table 12-26 describes the two modes.
Table 12-26
ModeSelect This Mode To...
InstallInstall software. Use the Software Selection area at the bottom of the window to select modules to be installed.
RemoveRemove software. After you press this button, the Software Selection area at the bottom of the window shows the software packages installed on the selected host. Use this area to select the packages you want to remove.