# How to build the deb package ## Pre-install ``` # apt-get install build-essential dh-make debhelper lintian wget ``` ## Config evc var for dh_make ``` $ cat >>~/.bashrc < ``` If don't sign the source package and the .buildinfo and .changes files ``` ~/harbian-audit-0.4.1$ dpkg-buildpackage -us -uc ``` ## Sign deb package ``` ~/harbian-audit-0.4.1$ cd .. ~$ sha512sum harbianaudit_0.4.1-1_all.deb > harbianaudit_0.4.1-1_all.deb.sha512sum ~$ gpg -ab harbianaudit_0.4.1-1_all.deb ```