How does the assumption of a normaly distributed error lead to squared terms regarding the variance?

One answer to this question (why squares in variance?) explains, that it is derived from the assumption, that the error is normaly distributed. Unfortunatly I fail to see, how exactly this leads to the definition of the variance/sd.

• – whuber Jul 5 '17 at 22:09