Question: how to install gz on linux?
Answer: Download the desired .tar.gz or (.tar.bz2) file. Open Terminal. Extract the .tar.gz or (.tar.bz2) file with the following commands. tar xvzf PACKAGENAME.tar.gz. ...  Navigate to the extracted folder using cd command. cd PACKAGENAME. Now run the following command to install the tarball.