Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am building a Node.JS server application for a client, targeted at RedHat EL 6.3. They want the app to be bundled in an RPM. Basically, the RPM should:

  • Install Node.JS and various Node modules (using the NPM command npm install)
  • Populate a folder with the app files (HTML, JavaScript, etc.)
  • Launch an instance of the server

I'm new to RPMs. Is that the kind of thing they can do? How easy would it be for an RPM to do those tasks?

share|improve this question
up vote 1 down vote accepted

RPM should not do most of those things. You will need separate packages containing Node.JS and each of its modules, and you will need to make the application package itself require all of those packages. Launching the instance should be done with an initscript contained in the application package. The Fedora Project Package Maintainers page gives a number of resources useful for packagers for both Fedora and similar distros.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .