You would use either floating point numbers (recommended) and regular gaussian elimination algorithms or you could use the division-free variants if you had arbitrary precision integer operations available. I'd recommend obtaining a copy of "Algorithms for Computer Algebra" by Geddes et al. if you want an in depth explanation.