extract tar.gz ubuntu terminal

Shell
tar -xvf yourfile.tar.gz
Source

Also in Shell: