Building an RPM
The first step to building an rpm package, is to download the source file of the program you want to build. This is done by using the command
yumdownloader --source PACKAGENAME
After that we must run the command
rpm -i PACKAGENAME
Once we have done that we can go to
~/rpmbuild/SPECS
To look at the SPEC file and find out some more information on this package, after weve done that the last step is to build it which can bed one using the command
build -ba PACKAGENAME.spec
Thats it! weve just buit our first RPM package... not that hard, next up working on a building it from a SPEC file
No comments:
Post a Comment