swinstall.1m (2011 09)

s
swinstall(1M) swinstall(1M)
Install an incompatible version of HP Omniback into the directory
/exports:
swinstall -x allow_incompatible=true -s/products Omniback,a=arch \
@ /exports
Install all products from the cartridge tape /dev/rmt/0
:
swinstall -s /dev/rmt/0 \*
Reinstall the software_selections listed in the file
/tmp/install.products
on the hosts listed in the
file
tmp/install.hosts:
swinstall -x reinstall=true -f/tmp/install.products \
-t/tmp/install.hosts
Execute swinstall interactively using the session file
/tmp/case.selections
as a basis:
swinstall -i -S /tmp/case.selections
Install all the software from local depot /tmp/sample.depot.1
, using any response files generated by
request scripts:
swinstall -s /tmp/sample.depot.1 -x ask=true \*
Install Product1 from remote depot /tmp/sample.depot.1
on host
swposix and use an existing
response file (previously generated by the
swask command) located in /tmp/bar.depot
:
swinstall -s swposix:/tmp/sample.depot.1 -c /tmp/bar.depot Product1
Install all products in remote depot /tmp/sample.depot.1
on host swposix, use any response files
generated by request scripts, create catalog
/tmp/bar.depot
and copy all response files to the new
catalog:
swinstall -s swposix:/tmp/sample.depot.1 -c /tmp/bar.depot \
-x ask=true \*
Install all products in remote depot /tmp/sample.depot.1 on host swposix
, use response files,
run request scripts only when a response file is absent, create catalog
/tmp/bar.depot
and copy all
response files to the new catalog:
swinstall -s swposix:/tmp/sample.depot.1 -c swposix:/tmp/bar.depot \
-x ask=as_needed \*
Install all patches in the depot that correspond to currently installed software and are of the critical
category:
swinstall -s /tmp/sample.depot.1 -x patch_match_target=true \
-x patch_filter=\"*.*, c=critical\"
swcopy
Invoke an interactive session of swcopy:
swcopy
Invoke an interactive session, using default depot at hostX as the source:
swcopy -i -s hostX
Copy all products from the cartridge tape /dev/rmt/0m to the default depot on the local host:
swcopy -s /dev/rmt/0m \*
Load the software_selections listed in the file /tmp/load.products
using the default source/depot:
swcopy -f /tmp/load.products
Copy the C and Pascal products to some local and remote depots:
swcopy -s sw_server cc pascal @ /var/spool/sw hostA:/tmp/sw hostB
FILES
$HOME/.swdefaults
Contains the user-specific default values for some or all SD options. If this file does not exist, SD
looks for user-specific defaults in $HOME/.swdefaults.hosts.
22 Hewlett-Packard Company 22 HP-UX 11i Version 3: September 2011