Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

fpm

fpm.readthedocs.io

  • Free plan
  • macOS
  • Linux
  • Self-hosted

What fpm is

fpm is a free, open-source command-line tool for creating packages for existing package systems. It runs on Linux and macOS, supports self-hosted use, and targets formats such as Debian, RPM, FreeBSD, macOS, Arch Linux, Alpine, Solaris, Snap, tar, zip, and shell archives. Inputs can include local directories, npm packages, CPAN modules, Python packages, Ruby gems, and existing RPM or Debian packages. fpm can convert an RPM package to Debian, remove files, change metadata or dependencies, and strip pre, post, and maintainer scripts. It is written in Ruby and installed with `gem install fpm`; Ruby is required first, and some formats need extra system tools. Docker is documented for running fpm without installing those tools locally. Building an osxpkg package requires macOS. Documentation is described as a work in progress, and problems can be reported through the issue tracker.

Who it suits

fpm suits developers and release teams that need command-line package creation, conversion, or modification across several package systems. It is especially useful for self-hosted Linux or macOS workflows.

Good to know, and what to watch

  • Supports many package output formats
  • Converts RPM packages to Debian
  • Modifies metadata and dependencies
  • Can strip package scripts
  • Free and open source
  • Ruby must be installed first
  • Some formats require extra system tools
  • osxpkg builds require macOS
  • Documentation is not extensive

fpm

Free

Open source

The verdict

fpm focuses on reducing the effort of building and adapting packages from the command line. Its broad targets and conversion tools are balanced by Ruby and system-tool prerequisites, plus documentation that remains incomplete.

What the maker publishes

Current release
The project documentation lists version 1.18.0 as released on August 26, 2026. source
Docker
The documentation says Docker can avoid installing fpm’s many underlying system tools locally and describes running fpm in a container. source
Documentation status
The documentation describes itself as a work in progress and says it is not extensive. source
Installation
fpm is written in Ruby and the installation guide instructs users to install it with `gem install fpm`. source
License
The project’s RubyGems listing identifies the license as MIT-like. source
macOS limitation
The installation guide says building an osxpkg package requires running macOS. source
Package conversion
fpm can convert an existing RPM package to a Debian package. source
Package inputs
Examples and documentation cover inputs such as local directories, npm packages, CPAN modules, Python packages, Ruby gems, and existing RPM or Debian packages. source
Package modification
The project README says fpm can modify existing packages by removing files or changing metadata and dependencies. source
Package scripts
The project README says fpm can strip pre, post, and maintainer scripts from packages. source
Package targets
The documentation lists targets including Debian, RPM, FreeBSD, macOS, Arch Linux, Alpine, Solaris, Snap, tar, zip, and shell archive packages. source
Prerequisites
Ruby must be installed before installing fpm, and some package formats require additional system tools. source
Purpose
fpm is a command-line tool for creating packages for existing package systems with less effort. source
Support
The documentation invites users to report problems through the project issue tracker. source

Checked against the maker's pages on 4 Oct 2026.