Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a Workgroup
Adding Software to a Workgroup
Chapter 9894
Copying Software From a Depot with the SD User Interface
To copy software from a depot, start the SD-UX graphical or terminal
user interface. Type:
/usr/sbin/swinstall
or
/usr/sbin/swcopy
swinstall automatically configures your system to run the software
when it is installed; configuration is not done with swcopy.
Copying Software From CD-ROM
Step 1. Make sure the CD-ROM drive is mounted. You can use SAM or the
mount (1M) command to do this.
Step 2. Register the CD-ROM drive.
For example to register a CD-ROM mounted at /cdrom, type:
/usr/sbin/swreg -l depot /cdrom
Step 3. Copy all or part of the contents of the CD-ROM to hard disk and use that
as a network software depot. (It is better to copy too much than too little.)
For example, to copy all the software on a CD-ROM into a depot at
/usr/main_depot and automatically register it:
/usr/sbin/swcopy -s /cdrom "*" @ /usr/main_depot
Or, using swcopy in interactive mode (using screens like those you see in
snoop):
/usr/sbin/swcopy -i -s /cdrom
Copying Software From Tape
To copy software on tape at /dev/rmt/0m to a depot at
/usr/main_depot:
/usr/sbin/swcopy -i -s /dev/rmt/0m @ /usr/main_depot
The program will pause if you need to change tapes. Bring up the
“Logfile” while in swcopy to see the tape-change messages.