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:
```bash
sudo -E apt-get update
sudo -E apt-get upgrade
```

Install the base line software:
```bash
sudo -E apt-get install build-essential \
 gfortran \
 tcl-dev \
 python-dev \
 libblas-dev \
 liblapack-dev \
 freeglut3-dev \
 m4 \
 zlib1g-dev \
 git \
 curl
```
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](deb_redist-downloads)
2. [Install software](deb_redist-install)
3. [Build the MOOSE Compiler Package](deb_redist-build)

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