Question:
Linux/Ubuntu: I can't unpack a file, it says "No such File or Directory". What Should I Do?
Dom Kenedy
2012-10-06 20:48:12 UTC
I downloaded a file named "input-wacom-0.14.0.tar.bz2"
And the site says the way to unpack is to type in terminal:
tar xjvf input-wacom-0.14.0.tar.bz2
cd input-wacom-0.14.0

But when I type that into terminal it says:
tar (child): input-wacom-0.14.0.tar.bz2: 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

What should I do? Am I supposed to put the file somewhere specific?
Four answers:
?
2012-10-06 20:55:41 UTC
Are you in the correct directory? Try the command ls (Lima Sierra) to verify the folder is in the current directory. If not, then navigate to the directory where you downloaded the file, then try again. Changing directories is simple, cd , changing to the name of the directory you are accessing (with out the arrow brackets <>) or cd ../ (parent directory, the one above where you are currently at)



I notice you didn't put a hyphen in front of the flags 'xjvf', so make sure you're doing that as well.



Type part of the name of the file, for example, the word 'input', then press tab to auto-complete the file name. If it auto-completes, you're in the right directory, and you haven't made a mistake in typing it. On top of that, you know that Ubuntu is recognizing the file, so no worries about another "NO such File or Directory" error.
RAHUL K
2012-10-06 21:04:45 UTC
Are you sure that you are in the directory where you downloaded file ,

if not use these commands.



open terminal -> type

cd Downloads

then ,

tar xjvf input-wacom-0.14.0.tar.bz2



if this not works try these commands.

first backup you file

use command cp input-wacom-0.14.0.tar.bz2 input-wacom-0.14.0.tar.bz2_bak

then

mv input-wacom-0.14.0.tar.bz2 input-wacom-0.14.0.tar.gz

gunzip input-wacom-0.14.0.tar.gz

tar xf input-wacom-0.14.0.tar



if these not works , make sure that the file you download is not corrupted.
anonymous
2014-08-17 12:43:34 UTC
You can download a free version of winrar here: http://bit.ly/1sMdIqr



Winrar is a very good program to unzip files and to decompress a bunch of other formats. You can use also 7zip or winzip for the same purpose but I believe that winrar is the best option. All these programs are very similar (you can compress/decompress files with a simple right click).



The great things is that winrar is free (you can download the trial version that never expires) and it can open all compressed formats: .zip, .rar, .7z / 7zip, .iso, .tar, .jar etc. (much more than the other programs).



That's why I strongly recommend Winrar
anonymous
2014-07-21 23:08:13 UTC
Hey there,

I was looking for a free download Winrar I found it here http://j.mp/1p3PrFw

To open compressed files (zip rar jar iso 7z cab uue gz....) you have to use WinRar. With WinRar you can easily decompress files and folders.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...