IBM developerWorks: Packaging software with RPM, Part 3
Feb 26, 2002, 15:03 (0 Talkback[s])
(Other stories by Dan Poirier)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
[ Thanks to Maria
for this link. ]
"RPM is a widely-used tool for delivering software for
Linux. Users can easily install an RPM-packaged product. In this
article, third in a series, Dan explains how to run scripts when
your package is installed or uninstalled, or when other packages
are installed or uninstalled.
It's often useful to be able to execute commands when your
program is installed or uninstalled on a user's machine. For
example, you might need to edit a system configuration file to
enable a new service, or need to define a new user to own the
program that you're installing.
To get the most out of the advice and examples in this article,
take a look at Part 1 and Part 2 of this series, which show you how
to use RPM and how to distribute your work, respectively."