|
Programs Distributor (SD) is the Hewlett-Packard company's name for their HP-UX software package management system.
SD may bring a placed of informatiin for creating packages that will set up computer software on the patterns heading the HP-UX operating technique. the packages may be grouped together into the computer software system repository known as the depot, & a server may be configured to persons multiple depots for installation of software packages & potentially entire systems.
SD was foremost available by having release Tenner.Cypher of HP-UX within 1995. Since so it has undergone many sweetening & bug fixes, & okay, will bring the dependable software system installation convienence. It utilizes the client-server arrangement to distribute software package applying the background daemon called swagentd. This professional is began at boot period, & communicates utilizing either a TCP or even UDP protocols across RPC. A SD packages come usually stored & transmitted around compressed
form, utilizing either a gzip or even compress computer software.
Commands
A information for performing SD operations come usually accessed from either a command line. SD includes a resulting commands:
swacl — access to the software package or even depots may be controlled at the fine-level by means of an Access Control List. This names may be managed per swacl command.
swask — rerun interactional software program asking scripts & store a reactions for late apply per swinstall & swconfig files.
swconfig — configure or even unconfigure an installed software program pack.
swcopy — copy software package packages to the depot.
swset up — install 1 or even even extrthe software package in a local or remote patterns. This may induced the rules reboot once the installed packages come marked when requiring a body restart.
swjob — produce & monitor SD load jobs.
swlistings — list installed software package in the rules or even the contents of a depot. The considerable total of pack parameters may be displayed by using the right arguments to this command.
swmodify — modify the particulars of the software body pack installed in the system or even loaded into a depot.
swpackage — the specification file is passed to this command, directing it just about how else a computer software pack should become built. the resultant pack could so exist as added to a depot or even onto media for shipment.
swreg — register or even unregister the depot. Simply registered depots is shown utilizing the depot-level swlist of the remote server.
swdislodge — remove the pack package from either the technique or even depot. This might induce the formulwhen reboot whilst the flushed packages come marked as requiring a technique restart.
swverify — line 1 text an installed software package to determine whenever a set up state is what was required.
These commands include the wide range of command-line alternatives that allow comparatively ticket control of the project existence performed. Additionally to command-line software download, many one information can likewise launch GUI versions in an X Windows display. A GUI version of swinstall performs a select few filtering of a computer software models listing to match software packages by using the system in which these are existence redo.
A commands log messages to an administrative vicinity, which may be utile for even even diagnosing installation issues or upright tracking what software package is loaded or flushed.
Packaging
Softwcome package packages are built by means of a specification file, the placed of set up scripts, & the actual software system content. the set up scripts come executed in the period of computer software program installation, verification, & removal, & may be utilized to develop a patterns for even the software & to perform activation or deactivation of the pack. A specificatiin file determines how else a software program pack is organized, names a locations of a various files to become loaded into a pack, limit a systems on which a pack may be installed, & determine the security configuration of the pack. It besides will bring various datthe all about a pack, like a title, version, & description.
Package packages come organized inside a hierarchy of containers, using a greatest level existence a bundle or even product & the last-place existence the filesets so files. A hierarchy is intended when follows:
Bundle
Product(s)
Subproduct(s)
Fileset(s)
Files
Actually single a Product & Fileset levels come required for several packages. the Subproduct level is for instance wont to class action together Filesets, when a Bundle will bring a higher-level grouping for related products. There may be 1 or even even additional filesets around the Product, & 1 or supplementary products within the Bundle. A Fileset level is utilized specifically for loading a files. The product may be installed forswearing 100% of its associated filesets, &c.
A filesets & products may be linked together by various requirement tags, which induced swinstall to choose a appropriate dependencies automatically.
To each one fileset potty use at times multiple control scripts specific to the files it might machine load. These scripts come executed in the charted sequentially when you took an installation:
checkinstall — redo when you took a pre-set up analysis phase to prevent whenever the fileset may be loaded on the formulas.
preinstall — redo good before loading a files in the fileset.
postinstall — start immediately as punishment the file machine load, & prior to a reboot, in case any.
configure — rerun fallowing postinstall script & when the reboot, whenever any, to perform final configuration of the installed pack.
There is the corresponding placed of scripts that come executed in the reverse choose in the period of a swremove:
unconfigure
preremove
postremove
More scripts include verify for performing a saneness prevent by having the swverify comm&, unpreinstall, and unpostinstall. A lot, occasionally, or even none one scripts may be involved in the pack, based on the requirements of the installation. It is utile for performing cleanup of former packages, creating links, adding a computer software directory to various look for environment variables, and then forth.
|