Install .tar.gz on RPi - OSMC through terminal

How I could to install .tar.gz on RPi with OSMC through terminal?

I have try this command (not root):

tar -zxvf file.tar.gz

but I have obtained this information

(nikname):~$ tar -zxvf file.tar.gz
tar (child): file.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

PS: Through the “ls” command I see that the file is present

Best regards

If you are sure the file exists and is readable by the user you open it as you can first try to unpack with gunzip and then untar with tar xvf file.tar