Have a google on
apt-get, the package management software for Debian-Based systems.
If you need to create a package that doesnt exist in the repos (/etc/apt/sources.list ; with like:
apt-get search PACKAGENAME) have a look at:
https://wiki.debian.org/HowToPackageForDebian
Hope this helps
NOTE: The syntax *should* apply, but me used to use RedHat-Based systems.