1# Packaging KadNode on Debian Linux 2 3To create a [Debian](https://www.debian.org) package of KadNode (a \*.deb file), 4you first need to have installed the following programs and libraries: 5 6``` 7apt install build-essential debhelper devscripts 8apt install libmbedtls-dev libnatpmp-dev libminiupnpc-dev 9``` 10 11Run this command in the repository root folder to create the package: 12 13``` 14dpkg-buildpackage 15``` 16 17The package will be created in the parent directory. 18 19 20Use this command if you want to create an unsigned package: 21 22``` 23dpkg-buildpackage -b -rfakeroot -us -uc 24``` 25 26The .deb package can be found beneath the kadnode source folder. 27 28Install the debian package: 29 30``` 31dpkg -i kadnode_*.deb 32``` 33 34# lintian 35 36To check the package for errors and warnings, use lintian. 37 38Install/Configuration: 39``` 40sudo apt install lintian 41echo -e "display-info=y\ndisplay-experimental=y\npedantic=y\ncolor=auto" > ~/.config/lintian/lintianrc 42``` 43 44Usage: 45``` 46lintian kadnode_*.deb 47``` 48