Managing a software depot is an important task for routine system administration. You need to create your own software depot for larger networks to avoid installing the installation media on every machine.
A depot can be created in any directory on disk. The default software depot location is /var/spool/sw . After selecting a directory for the software depot, software components can be added or removed from the depot.
A tape depot can be created using the swpackage command. Only one command can access a tape depot at a time.
A package can be added to a depot using the swcopy command. This command copies into a depot the software that can be installed using the swinstall command at a later stage. The following command copies all products from a tape drive to the default software depot.
swcopy -s /dev/rmt/0m @ /var/spool/sw
Software can be removed from a depot using the swremove command. The following command removes all software from the default depot /var/spool/sw .
swremove -d * @ /var/spool/sw
Software in a depot can be listed using the swlist command. The following command list contents of the local tape, /dev/rmt/0m .
swlist -d @ /dev/rmt/0m
Study BreakSoftware Management
|
Top |