Symbolic algebra relevant to the renormalization of gauge theories can
be efficiently performed by machine using modem packages. We devise a
scheme for representing and manipulating the objects involved in pert
urbative calculations of gauge theories. This scheme is readily implem
ented using the general purpose package, Mathematica. The techniques d
iscussed are used to calculate renormalization group functions for a n
on-abelian SU(m) gauge theory with massless fermions in a representati
on R, in the two-loop approximation, and to simplify some expressions
arising in electroweak calculations at the two loop level.