I wrote the tutorial from a Linux PC, rooting works perfectly fine on Linux.
Oh and welcome to the community btw