Building, Maintaining, and Distributing RPM Packages

Building, Maintaining, and Distributing RPM Packages

1h 19mAdvanced2020-09-21

Authors

Scott Simpson

Scott Simpson

Creating Technology Courses as a Senior Staff Author at LinkedIn

Course details

Distributing software in Red Hat Enterprise Linux, CentOS, Fedora, and other distros relies on the RPM Package Manager. If you're curious about RPM—and how the packages you use to install software are created—then this course is for you. Join Scott Simpson as he shows system administrators how to create, maintain, and distribute RPM packages. Scott describes how to create RPM packages both from precompiled binaries and source code. He also discusses how to patch existing software and distribute packages to end users either as files or through repositories. Plus, he demonstrates how to create your own software repositories to host your packages.

Skills covered

Red Hat Package ManagerCentOSRed Hat Enterprise LinuxRed HatSoftware DeploymentSoftware AdministrationIT AutomationNetwork and System AdministrationOpen SourceDeep Dive (X:Y)

Concepts

Introduction

  • RPM packages
  • What is a package
  • Package metadata and spec files
  • Tools and the build process
  • Exploring an RPM package

Binary Packages

  • Creating a binary package
  • Write a spec file to distribute regular files
  • Build a binary package to distribute regular files
  • Write a spec file to compile and distribute executables
  • Build a binary package to distribute executables
  • Building for different architectures

Source Packages

  • Build a source package
  • Modifying source with patches
  • Update or maintain a package

Distributing Packages

  • Signing and verification
  • Package distribution choices

Hosting and Maintaining Repositories

  • Create a local repository
  • Create a hosted repository
  • Manage and troubleshoot repositories

Conclusion

  • Conclusion
40,000 Toman