Jump to content

How to build rpms

Recommended Posts

If you happen to find something you need but is not in rpm, the easy way is to use checkinstall to build one.


Get the checkinstall binary here: http://freshmeat.net/projects/checkinstall...C41%2C147%2C257


The only trick to using checkinstall is you replace make install with it.


example using fluxbox:


untar and gunzip the file

[jsw34@shadow sources]$ tar -xvzf fluxbox-0.1.14.tar.gz


cd into source dir

[jsw34@shadow sources]$ cd fluxbox-0.1.14


configure; make; and run checkinstall

[jsw34@shadow sources]$ ./configure && make && checkinstall


The package documentation directory ./doc-pak does not exist.

Should I create a default set of package docs? [y]: <ENTER>


Please choose the packaging method you want to use.

Slackware , RPM [R] or Debian [D]? R <ENTER>


Please write a description for the package.

End your description with an empty line or EOF.

>> My rpm

>> <ENTER>


you can edit the build values on the next screen or just hit ENTER to continue with the defaults.


Now it will build the rpm and install it.


Done. The new package has been installed and saved to





If you have to use source, I highly reccommend using this tool. You will have accountability for everything you install and its really simple to remove or upgrade the package.


The rpms you build will be for the architecture you are using, however you can usually use them on newer releases, It may ask you for some newer dependencies though.

Link to post
Share on other sites
  • 2 months later...
  • 1 month later...

thank you so much for this info, i dont know why i didnt look here first, ive been wanting to build RPM's for the newer versions of IRSSI which there are no RPM's of. The other guides i found were like... too much work or something. this makes it all a cinch, so thanks B)

Link to post
Share on other sites

what if i wanted to make an RPM without actually installing it? (as i already have my package installed)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...