CentOS 9 build a rpm dev-env

Hello readers,

Today we are going to see how to build an rpm dev environment.

sudo yum install rpm-build

sudo yum install gcc make

Now, we are going to build a directory to work with an rpm building. In the next article, we will learn how to build and install an rpm on the centOS 9 stream.

sudo yum install redhat-rpm-config

mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}

We must build on the ($HOME) directory to avoid damage on the fly under the installment of the centOS 9. In the next article, we will learn how to build an rpm package under the $HOME folder.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

2 × five =

coder by Gleentech
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.