© David Both 2020
D. BothUsing and Administering Linux: Volume 3https://doi.org/10.1007/978-1-4842-5485-1_17

17. Advanced Package Management

David Both1 
(1)
Raleigh, NC, USA
 

Objectives

In this chapter, you will learn
  • To prepare an rpmbuild directory structure to contain RPMs for different architectures

  • To generate an RPM specification (spec) file that defines the structure of the generated RPM package and the files and embedded scripts to be included in it

  • To build an RPM package that contains user generated scripts and configuration files

Introduction

I have used RPM-based package managers to install software on Red Hat, CentOS, and Fedora since I started using Linux over 20 years ago. From the RPM program itself, to YUM, and then DNF, which is a close ...

Get Using and Administering Linux: Volume 3: Zero to SysAdmin: Network Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.