.gz is a compressed file created with Gzip. Extract files created with Gzip is straight-forward in Linux. Type the following command in Linux terminal:
$ gunzip your-file.gz
This will extract the file in same folder you are at the moment. To extract the contents to another folder, check this article: Extract .qz File in Linux to Another Directory.