|
Tutorial M5
Time: Monday 15 May 2006 09:00 - 17:30 Location: Commissiekamer 3 / IAR
Building and Maintaining RPM Packages | ||
| Abstract
Introduction:
The tutorial will focus on creating RPM packages for Fedora and Red Hat Enterprise Linux systems, but the theory will also apply to package software for other distributions.
Contents:
The headers and sections of an RPM spec file will be discussed. Hints and tricks will be given for each section to enhance the quality of the target package, including the use of macros, adapting software for installing it in an alternative root directory, ensuring correct file ownerships and attributes, the proper use of pre/post (un)installation and "trigger" scripts, and how to deal with package-specific users and init scripts. Package dependencies and conflicts will be covered, as well as some ways too tweak the automatically generated dependencies, if needed. Installing files in the proper place requires knowledge of the Filesystem Hierarchy Standard (FHS), hence the basics of the FHS will be discussed. The tutorial will also show how to properly package binary software, often done for internal system management purposes, and shed light on some of the issues involved, including some legal aspects related to packaging non-free software. Package repositories and dependency resolution. Complementary to RPM, software exists for solving dependencies, such as up2date, yum, and apt-rpm. This software and the corresponding package repositories will be discussed. Using RPM on non-Linux systems. Although primarly used on Linux systems, RPM can also be used to package software for other (free or commercial) UNIX-like systems. Some aspects of using RPM on non-RPM systems will be discussed. Besides the theory, several issues will be illustrated with live demonstrations.
Target audience:
|
|
|
Last modified: Mon, 23 Jan 2006 22:36:51 +0100