...

/

Package Construction Using fpm

Package Construction Using fpm

Learn how to create a package using fpm.

Example package creation

Let’s say we want to create a Debian package for the npm module leftpad. We’d run the following commands:

$ sudo apt install npm
$ fpm -s npm -t deb leftpad
  • With -s, we specify the source, here npm.

  • With -t deb, we instruct fpm to create a Debian package as the target.

  • Finally, leftpad is the name of the source ...