Package Construction Using fpm
Learn how to create a package using fpm.
We'll cover the following...
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, herenpm
. -
With
-t deb
, we instructfpm
to create a Debian package as the target. -
Finally,
leftpad
is the name of the source ...