Install what ever Debian based linux operating system you prefer. Do not perform an upgrade from a previous version. We need a clean install. Then perform updates, until there are no more updates:

sudo -E apt-get update
sudo -E apt-get upgrade

Install the base line software:

sudo -E apt-get install build-essential \
 gfortran \
 tcl-dev \
 python-dev \
 libblas-dev \
 liblapack-dev \
 freeglut3-dev \
 m4 \
 zlib1g-dev \
 git \

Unfortunately the above may not be everything your specific Debian machine needs in order to build everything we're about to build... I didn't know what I needed when I first started building all our stuff. Google was a life saver. Be prepared having to search for your own answers. Most of the time, it was simply another apt-get install <something>.

Also note: Some of the above software will not be necessary for the end-user to have to install in order to use your package. I have included the necessary dependency list which 'should work' in the control file (last step). This unfortunately means, for you to be thorough, to re-install Linux after the package is completed and try to install/run the package you built on a clean machine. If any errors occur, record the missing dependencies and re-build the package. In other words: You might want to have two separate machines. One for building and one for testing. Having two machines will save you lots of time.

  1. Download the following software using Firefox
  2. Install software
  3. Build the MOOSE Compiler Package

Following the above to completion you should have a: moose-environment.deb. But you can rename it to what ever you want.