Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 878 Bytes

linux-packaging.md

File metadata and controls

23 lines (15 loc) · 878 Bytes

Building binary packages for Linux

Pre-requisites

Make sure you can build the node.js client from source code (i.e. you can successfully complete the Quickstart section of the README file).

Debian/Ubuntu (deb package format)

  1. Make sure you have dpkg, jq and fakeroot installed (otherwise, install them with apt).
  2. Run PACKAGING=1 yarn.
  3. Then run yarn run build-deb.
  4. The deb package will be located in the dist/ directory.

Note: creating deb packages only has been tested extensively on Ubuntu and Debian.

Fedora/CentOS/RHEL (RPM package format)

  1. Make sure you have rpm-build installed (otherwise, install it with yum or dnf).
  2. Run PACKAGING=1 yarn
  3. Then run yarn run build-rpm.
  4. The RPM package will be located in the dist/ directory.

Note: creating RPM packages only has been tested extensively on Fedora.