Blogs
User Login
| RPM Package Management |
|
|
|
| Written by Erich Leipold |
| Thursday, 19 February 2009 14:35 |
|
It's been a long time since I've built RPMs from scratch. We're working on a new project that will work well with RPM deployment. I've built packages for quite a few different applications. RPMs are great for C/C++ programs, but the also work really well for any files that need to be installed as a package on a system that uses the RPM package manager. Some of the more interesting packages that I've build were for Progress-based applications and Java enterprise apps. I successfully took Progress source code, started up a database session, and compiled the source into Progress byte code all within the RPM build process. If you haven't created an RPM, it's a fairly easy process. Although I would enjoy writing the entire process down, there are some existing resources that are pretty good. http://tldp.org/HOWTO/RPM-HOWTO/build.html This is a good overview of RPM. It won't give you everything, but you should be able to successfully build a variety of RPMs with this tutorial. http://home.fnal.gov/~dawson/rpms/howto/index.html This site has some nice examples and interesting information. http://www.city-fan.org/tips/CreateRPMBuildEnvironment This is a useful site for setting up your build environment. The script sections are extremely useful. You can run scripts for pre-install, post-install, pre-uninstall, and post-uninstall. It might take some time to get used to the sequence that rpmbuild goes through, but once you're familiar with it, building RPMs is easy. |
| Last Updated on Saturday, 07 March 2009 11:06 |


