The old fashioned way.”su” to a root terminal. When I’m compiling I drop out of a GUI and use CLI so you have nothing open but the shell.
Yeah, that works, too, as long as you know all the root passwords in your network and don't mind typing them. They are all nice and long, and all different, of course... right? :-)
Granted, if you're only using one workstation, "su" and "sudo" are almost equivalent except for which password you type.