Questions about: tar

I want to extract tar file to specific directory called /tmp/data. How can I extract a tar archive to a different directory using tar command on a Linux or Unix-like systems? You do not need to change the directory using cd command and extract files.
XZ is another compression method used to compress data. There are several ways on how to decompress XZ archive on Linux. For a tarball XZ compressed archive first try a tar command with xf options
When I say crash, it simply means that the whole system freezes and does not respond to any keyboard or mouse input. There are many reasons that can cause Ubuntu to crash. It could be due to hardware incompatibility (especially ATI/Nvidia graphics ca