'No such file in directory' when installing programs from *.tar.gz archive
by AJ_ from LinuxQuestions.org on (#6QS0H)
Hi,
Up to this point I've had trouble when trying to install a downloaded *.tar.gz archive. I usually search things up and try the set of commands. The latest program that I tried this on was node.js. I downloaded node-v20.17.0.tar.gz from the official website. So far, so good.
However, as it has happened several times I try installing a *.tar, I got an error:
-----------
TERMINAL
sudo tar -xf node-v20.17.0.tar.gz
>>>
tar: node-v20.17.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
-----------------
I realise I am a newbie (using Linux for a week now and love it) and it is probably something I am (not) doing, but any clarification and assistance is greatly appreciated.
Up to this point I've had trouble when trying to install a downloaded *.tar.gz archive. I usually search things up and try the set of commands. The latest program that I tried this on was node.js. I downloaded node-v20.17.0.tar.gz from the official website. So far, so good.
However, as it has happened several times I try installing a *.tar, I got an error:
-----------
TERMINAL
sudo tar -xf node-v20.17.0.tar.gz
>>>
tar: node-v20.17.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
-----------------
I realise I am a newbie (using Linux for a week now and love it) and it is probably something I am (not) doing, but any clarification and assistance is greatly appreciated.