tar -C - switch the output path

To extract the tar archive to a specific location use -C switch:

tar xvf archive.tar -C /tmp/archive