LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do you make a RPM? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-make-a-rpm-190574/)

aaronruss 06-07-2004 02:23 AM

How do you make a RPM?
 
How do you make a RPM?

From source code to a RPM. What steps are there and what tools are needed.

Bebo 06-07-2004 06:33 AM

Hello,

Check out checkinstall; it's a very nice tool for making RPM, DEB or Slack's TGZ packages. The usual procedure to build a program from source is
Code:

./configure
make
make install

but installing stuff this way tends to make it very difficult to track down the installed components if you some day would like to remove the package. So, instead one can do
Code:

./configure
make
checkinstall

and checkinstall will build a package for you of your preferred format and install it. You then both have the package for future installs, and it's also easy to remove it.

HTH

aaronruss 06-08-2004 10:57 PM

Thanks Ill give it a try


All times are GMT -5. The time now is 01:32 AM.