I am not able to uncompress a file with .tar.gz extension
sudo tar -xvzf ~/Downloads/file.tar.gz /opt/ but no success.
tar: /opt: Not found in archive tar: Exiting with failure status due to previous errors
You can specify in which directory you want the files extracted using the
Your are telling