Learn to Create an RPM Package

The steps to build an RPM package: Download the source code Create the spec file (use the rpmdev-newspec command) Build the package (use the rpmbuild command) GPG sign the package (use the rpmsign command) Test the package (use rpm -qip command) In this post, I’m going to learn to create an RPM package of fpaste-4.0.1.1.tar.gz on Red Hat Enterprise Linux 7 (variant). First we need to ensure the necessary packages are installed:...

March 5, 2021 · 6 min · 1114 words · kenno

How to Generate a GPG Key

GPG, the GNU Privacy Guard, can be used to digitally sign email, encrypt files. GPG is also used to sign RPM package. In this post, I’ll write a short instruction on how to generate a new GPG key on RHEL or CentOS 7. The command we need to generate the GPG key is gpg. This program is provided by gnupg2, and it should have aready been installed in most system....

August 19, 2019 · 4 min · 658 words · kenno