From the course: Building, Maintaining, and Distributing RPM Packages
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Build a binary package to distribute executables
From the course: Building, Maintaining, and Distributing RPM Packages
Build a binary package to distribute executables
- [Instructor] Now we need to put the files in place in the RPM build directory. First, we'll package up the source files and other files into a tarball, and move that to sources. (keyboard clicking) Then I look up the spec file to specs. (keyboard clicking) And as with building the previous package, I'll use RPM build - bb - vv and provide my spec file. And let's go. I can see the progress of the software being compiled and the package being built. And when that's done, (keyboard clicking) I can see I have a new package here inside my RPM's directory under my architecture. The program we want to install is called Landon app. (keyboard clicking) So I'll run that and nope, it's not installed. Let's install it from the new RPM. (keyboard clicking) And there it is. Looks like this package works.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Creating a binary package1m 41s
-
(Locked)
Write a spec file to distribute regular files7m 58s
-
(Locked)
Build a binary package to distribute regular files2m 51s
-
(Locked)
Write a spec file to compile and distribute executables5m 39s
-
(Locked)
Build a binary package to distribute executables1m 44s
-
(Locked)
Building for different architectures2m 8s
-
(Locked)
-
-
-
-