Build an RPM Package for Installation and Management by the System Package Manager

Feb. 23, 2016, midnight

Many Linux users install software from source using the steps ./configure, make, make install. This method is easy but unattractive because it bypasses the system's package management tools, and any software installed using this method doesn't allow for the management of the software with the package manager. A method almost as simple that allows the package manager to track the installation is to use the rpmbuild tool to create an rpm package and install the package directly using zypper, the command line package management tool, or add it to a local repository and install it using whatever method the user normally chooses to install from remote repositories. This article gives an example of this process by packaging the xwinwrap program.

Many Linux users install software from source using the steps ./configure, make, make install. This method is easy but unattractive because it bypasses the system's package management tools, and any software installed using this method doesn't allow for the management of the software with the package manager. A method almost as simple that allows the package manager to track the installation is to use the rpmbuild tool to create an rpm package and install the package directly using zypper, the command line package management tool, or add it to a local repository and install it using whatever method the user normally chooses to install from remote repositories. This article gives an example of this process by packaging the xwinwrap program.

blog comments powered by Disqus