LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2004, 03:23 AM   #1
aaronruss
Member
 
Registered: Mar 2004
Posts: 90

Rep: Reputation: 15
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.
 
Old 06-07-2004, 07:33 AM   #2
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
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
 
Old 06-08-2004, 11:57 PM   #3
aaronruss
Member
 
Registered: Mar 2004
Posts: 90

Original Poster
Rep: Reputation: 15
Thanks Ill give it a try
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM vs Make Install help agtlewis Linux - Software 4 11-17-2005 02:59 PM
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 11:42 AM
how do i make an rpm? webazoid Linux - Software 5 08-07-2004 03:09 AM
trying to make rpm 2.6.0 kernel illtbagu Linux - Software 0 12-27-2003 04:01 AM
make rpm kernel 2.6.0 illtbagu Linux - Software 4 12-24-2003 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration