15.4 Removing Software

   

The swremove command is used to remove software from the HP-UX system. It has a similar interface to the swinstall command. When you start the command, it will list in a window all installed software. You can mark the software that you want to remove from the system, after which you will go to the Actions menu and select Remove (Analysis) from it.

Once the software removal starts, the SD-UX checks the software dependencies and removes all files in the selected software that are not used by any other product or bundle. It then updates the IPD by removing software from it.

It is important to note that software is not removed only by deleting the directory in which the software was installed. In fact, manually deleting directories may cause problems because the software entries still exist in the IPD. Although you have deleted the files, your system thinks that they are still there. This may affect any other software installation or removal process when SD-UX checks software dependencies.

The software removal process is logged in the /var/adm/sw/swremove.log file. It is similar to the log file used for the swinstall command and contains information showing whether the software removal process was successful.

Finding and Removing Unused Filesets

The freedisk command is used to list and remove software that has not been used for a long time. Filesets that have not been used since installation, but which have dependencies with other filesets that are in use, are treated as being in-use. After analyzing the filesets, the command activates the swremove command to remove packages interactively. At this point, you can select packages that can be removed from the system.


   
Top


HP Certified
HP Certified: HP-UX System Administration
ISBN: 0130183741
EAN: 2147483647
Year: 2000
Pages: 390
Authors: Rafeeq Rehman

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net