Extract to a path

tar xvf -C /path/to/directory filename.gz
click the source code to copy