@JohnKoepi @ g on software engineering

How to easily build deb package with FPM

What is FPM?

Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.

Install FPM

sudo apt-get install make ruby ruby-dev dpkg-dev
sudo gem install fpm

Build package

fpm -s dir -t deb -n <NAME> -v 1.0 <DIR>

Update repository package indexes

dpkg-scanpackages . /dev/null | gzip -c9 > Packages.gz
blog comments powered by Disqus