The Debian package control files are stored in a git repository which we will checkout and use. We have to clone it to a very specific location in order to preserve the hard-coded paths in the build scripts. This specific location is almost always available on every flavor of Linux; /tmp

Checkout moose_compiler_package repository

cd /tmp
git clone

Build the Debian redistributable package

There are several operating system directories within moose_compiler_package directory. Obviously were after the UBUNTU_PACKAGE. Perform the following to build your 'deb' redistributable:

export PACKAGES_DIR=/opt/moose
cd /tmp/moose_compiler_package/UBUNTU_PACKAGE

This step can take a bit... The resulting file will be: moose-environment.deb. Rename it to your hearts content and it will then be ready for distribution! Enjoy!