How to build a rpm file from a source file

Posted on March 11th, 2008 in Commandline Tools, Fedora, OpenSuse by admin

This is for the Redhat, Suse, Fedora, and CentOS users. Sometimes when you try to search for rpm packages, the only thing that you find is the source file. You can create a rpm file using this tar.gz or tar.bz2 file:

  1. save the source file(usually in tar.gz or tar.bz2 format)
  2. extract the files: tar -xvzf filename.tar.gz or tar -xvjf filename.tar.bz2
  3. open the folder of the extracted file and find .spec file
  4. type: rpmbuild -bb filename.spec
  5. see the error and continue according to the error until you finish creating rpm files
  6. type: rpm -Uvh filename.rpm to install

Installing an RPM file in Ubuntu/Debian

Posted on March 6th, 2008 in Debian, Ubuntu by admin

If you have an rpm file for a package you wish to install, and if you cannot find a .deb debian package in any of the Ubuntu repositories or elsewhere, you can use the alien package converter application to install the .rpm file.

Also see:How to install a deb file in openSuse

RPM Cheat Sheet

Posted on March 5th, 2008 in Basics, Fedora, Mandriva, OpenSuse, Redhat by admin

The following will help many navigate through the RPM system:

Video Coming Soon.

Get the Flash Player to see this player.