Creating a Package from Source
Senior Vice President of Content
RPM packages allow easy distribution through an organization by allowing the use of yum repositories. You can use them to build custom packages or in-house modifications to existing packages. This activity will help you learn how to build simple packages to help you understand the process.
Our development team has written a script they'd like packaged to ease distribution throughout the environment.
The source for the script is currently in the
/root directory. You'll need to create a
.tar.gz file from that to ensure the packaging software works correctly.
You've been asked to use the default directories and package the script as the
The script needs to be placed in the
Once the script is packaged, you should install the package and run the script to verify functionality.