7

How I make a .deb for a Node.js application that installs Node.js and its required npm modules on dpkg -i?

Which is the place in the filesystem where I have to put this application? (/opt,/usr/local).

Thanks in advance.

10

Here's an article + screencast on the subject:

How to create a .deb for NodeJS apps

-1

I know this is kind of late.

Here is a ppa repo that might help you: https://launchpad.net/~chris-lea/+archive/node.js/

This installs node to a standard location. I consider installing with npm to local directories (part of the application) the best practice.

Source: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager

  • 4
    Your answer isn't related to my question. I asked how build a .deb for a Node.js app, not install Node.js from a .deb. But thanks anyway :D – diosney Oct 8 '14 at 21:16

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.