tar should be sudo'd not gzip because tar creates file gzip just pipes
don't pipe though, tar -xzf will suffice