Package Construction Using fpm
Learn how to create a package using fpm.
We'll cover the following...
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 instructfpmto create a Debian package as the target.
- 
Finally, leftpadis the name of the source package, whichfpmdownloads (through thenpmexecutable) and packages into a Debian package. ...