LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-08-2004, 08:53 AM   #1
varunbihani
Member
 
Registered: Jul 2003
Location: indore, india
Posts: 69

Rep: Reputation: 15
Make My own rpm file


Hello,
Can I create rpm package for my application just like we create exe (setups) in windows. So that I could be able to install the whole application on linux just by running that rpm.
When I run rpm, I need to ask the users various installations parameters like location of cgi-bin directory, tomcat directory,apache directory etc...
I need to check whether particular software like perl is installed on the machine or not...

Can we build this rpm by ourself so that I can give it to my clients so that they just have to run rpm and install it on their machine...
Thanks
 
Old 12-08-2004, 09:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
rpm's can't ask questions, they are able to change their default base location etc... but they are a generic format, so are not supposed to be able to find other program details, other than to fulfill dependencies. i would advise you to write some form of setup script as part of the rpm contents to do post-install config. to create an rpm file though, you need to write a specfile, whch details things like package names, file locations etc...

http://www.rpm.org/max-rpm/
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 11:42 AM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 08:55 PM
making kernel RPM. does not make initrd file mindcry Linux - Software 5 08-12-2004 11:20 PM
Is it possible to make a .rpm file compatable on zaurus? atheobalds23 Linux - Laptop and Netbook 1 04-08-2004 04:50 PM
How to make rpm from hdr file? cepxat Linux - Software 3 03-26-2004 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:53 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