Click to See Complete Forum and Search --> : tar how ?
skypilot49ul
03-23-2003, 01:05 PM
newbie needs help
Ok I have a tar package saved to a temp file in home folder.I know I have to open,make ,install,and config.but cant find detailed info on how this is don , can some one help our where can I find this info
ShieldWolf
03-23-2003, 01:18 PM
[you@yourbox you]$ man tar
or
[you@yourbox you]$ info tar
These should do the trick.
skypilot49ul
03-23-2003, 02:07 PM
Ok that give,s some info on the command ,but I wont to install the tar program and don,t know how to do this I have found some info but it is vague I have read what the steps are but need detail on the steps
sharth
03-23-2003, 09:35 PM
Okay. a few little facts. First off, you have downloaded a source package. These are often stored as tarballs. tar stands for tape archive. It basically compresses multiple files. Then we have bzip2 and gzip which compress single files. you want to decompress these files. So, we look at man tar. A page down into it, we have a section called examples.tar -xvf foo.tar
extract foo.tar
tar -xvzf foo.tar.gz
extract gzipped foo.tar.gzAnd then an addition, tar -xvjf foor.tar.bz2.
then read the readme or install which should be in the decompressed file.
skypilot49ul
03-24-2003, 12:43 AM
The file is a tar.gz so to decompress or extract the command would be tar -xvzf "file name"
I tried it that way and got " tar (child): file name Cannot open:No such file or directory
sharth
03-24-2003, 08:14 AM
try this
file whatever.tar.gz
mdwatts
03-24-2003, 08:46 AM
http://justlinux.com/nhf/Compiling_Kernels/Compiling_Software.html
skypilot49ul
03-24-2003, 09:40 AM
Thank you mdwatts.
that looks like the info I have ben looking for
skypilot49ul
03-24-2003, 01:54 PM
I think I'm doing something wrong when I save the file ,When I first saved the download I made a file in my home directory "home /skypilot/temp" .After reading compiling software in help file library I thought maybe it needs to be in a root directory so I made a file under root and moved it there ,but still get can not open no such file or directory
sharth
03-24-2003, 06:09 PM
yeah im confused by what you are doing. run file <file> on the file, and please post exactly what you are doing, unless md understands whats going on.
skypilot49ul
03-24-2003, 09:47 PM
First I'm new to linux so my problem may be something simple ,I have redhat 7.3 installed and working . I downloaded a tar program and wont to install it ,but keep getting "cannot open "no such file or directory. mdwatts sent me to http://justlinux.com/nhf/Compiling_Kernels/Compiling_Software.html ,it seems like it should be easy and thought I had it figured out but I guess not
sharth
03-24-2003, 10:26 PM
okay.
so, I'm going to assume you are still stuck at a stage where you have only one file. You have not decompressed this file yet into the folder that contains the source.
so, if my above assumptions are correct, what is the name of the file?
skypilot49ul
03-25-2003, 12:04 AM
your assumption is are correct The file is" white_dune-0.21p13.tar.gz"I downloaded it from freshmeat.net
sharth
03-25-2003, 06:19 PM
tar zxvf white_dune-0.21p13.tar.gz
that should extract the file. if it doesn't, then run this instead.
file white_dune-0.21p13.tar.gz
skypilot49ul
03-25-2003, 08:15 PM
That is what I have don several times ,thinking maybe I typed it in wrong .I have attached a screen shots ,that is I hope I have .
skypilot49ul
03-25-2003, 08:22 PM
I guess only one attachment per post
skypilot49ul
03-25-2003, 08:28 PM
I guess only 1 attachment per post so here is the other 1
sharth
03-25-2003, 08:28 PM
hmm... the screen shots seemed to be the same thing.
try running file on the file.
file <whatever it was>
arn0ld
03-25-2003, 08:59 PM
cool program - I was able to download the rpm
and it installed and worked. If you
cd /tmp
tar zxvf white_dune-0.21pl3.tar.gz
you should have a white_dune-0.21pl3/ directory. cd to directory
more README
./configure options, if any
make
make test maybe
make install
sharth
03-26-2003, 04:24 PM
Originally posted by arn0ld
tar zxvf white_dune-0.21pl3.tar.gz he is saying that it fails there.
arn0ld
03-26-2003, 05:01 PM
i do not believe it.
1 is tar being run in terminal window?
if not, it needs to be, so error message
(if any) can be captured.
2 what DOES "file white_dune......tar.gz" return?
3. what does "which tar" return?
4. what tar ztvf white_dune......tar.gz return?
As I noted, it is a fun application, even tho i know squat about VRML.
sharth
03-26-2003, 05:51 PM
thats what i have been requesting.
skypilot49ul
03-26-2003, 11:44 PM
Here is screen shot of terminal
skypilot49ul
03-27-2003, 10:23 AM
Thanks for the help ,please be patient as I learn to use this OS.
I came a cross an article Building New Kernel,I'm attaching the screen shot of the results ,the article will be on this post and the terminal on next ,as I cant find a way to put both on one post
skypilot49ul
03-27-2003, 10:34 AM
Here is the fallow up to the previous post
chrism01
03-27-2003, 11:11 AM
In the last jpg, you tried to cd to a non-existent dir (/RedHat/RPM). Try ls first to see what's there. I think you'll find its 'RPMS'. In the prev jpg it says 'no such file or dir'. Maybe try an ls there as well?
arn0ld
03-27-2003, 11:19 AM
what OS were u using? does that OS have relative and absolute paths? e.g.:
cd /mnt/cdrom absolute path
ls - check whats here
cd RedHat/RPM - Relative path
-- or
cd RedHat - Relative path
ls - check whats here
cd RPM
ls
2ndsign
03-27-2003, 11:34 AM
did you check the file permissions to make sure the tarball is not set to read only?
nothingbutlinux
03-27-2003, 05:04 PM
The command line people aren't going to like me, but in my *vast* experience of doing an installation from a tar file ONCE, I found that right-clicking on the tar file brought up a contextual menu that included the item "Uncompact Here". I did that, and it did a wonderful job of uncompating!
It sounds like that's were you're getting stuck, so maybe give the ol' mouse a try! (I already ranted and raved about GUI vs. Command Line once, so I won't do that again)
skypilot49ul
03-27-2003, 09:28 PM
I think this post has strayed away from my original problem .
Attached is a screen shot showing the file white_dune in my tmp file
and what I think should be the extract command and the result.
sharth
03-27-2003, 09:46 PM
okay. this is what i have come up with since you still haven't shown me the output of this one simple command. Basically, I'm left with the thought that you have a bad file. or that it was uploaded incorrectly, or whatever. However, please run this command for me and I may be able to say something else....
file white_dune-0.21pl3.tar.gz
endoalpha
03-27-2003, 10:12 PM
in your console screenshots it looks like you are not typing the filename correctly... white_dune-0.21pl3.tar.gz is the filename not white_dune-0.21p13.tar.gz the character after the 'p' is lowercase 'l' not a numeral '1'.
Do you know about tab completion? Use the 'tab' key to complete the filename you are starting to type... like : tar xvzf white<tab-key>
arn0ld
03-27-2003, 10:19 PM
possibly we are straying away because you are not providing information we are asking for and have apparently not tried most/any of the remedies we suggested.
unpacking a tar file is the relatively simple 1st step in the whole process.
arn0ld
03-27-2003, 10:28 PM
3 colors: black, blue,red - could red be an unconnected symlink?
endoalpha
03-27-2003, 10:36 PM
I am certain this guy is typing in the filename incorrectly... examine his console screenshot http://justlinux.com/forum/attachment.php?postid=535411 Can anyone confirm?
cnjohnson
03-27-2003, 11:04 PM
Er, you are mis-typing the name of the file. Look closely (if your screen capture is at all correct). You are typing this:
tar xvzf white_dune-0.21p13.tar.gz
But that's not the file's name! You should be typing this:
tar xvzf white_dune-0.21pl3.tar.gz
Do you see the difference?
Cheers--
Charles
(Assuming I can actually read your screen shot, of course!)
sharth
03-27-2003, 11:29 PM
to be safe, do this.
type in white, and then use tab completion.
skypilot49ul
03-27-2003, 11:35 PM
if you are referring to the spacing in 21p13..I still got the same result's
cnjohnson
03-27-2003, 11:48 PM
Originally posted by skypilot49ul
if you are referring to the spacing in 21p13..I still got the same result's
Nope.
You are typing the numeral one 1 immediately after the p. Instead try typing the lowercase letter l (you know, the key next to k and below o).
Others have explained it to you.
Cheers--
Charles
cnjohnson
03-27-2003, 11:50 PM
Originally posted by endoalpha
I am certain this guy is typing in the filename incorrectly... examine his console screenshot http://justlinux.com/forum/attachment.php?postid=535411 Can anyone confirm?
Yes, others have pointed it out to him as well.
He is being intentionally obtuse.
Cheers--
Charles
2ndsign
03-28-2003, 02:48 AM
dude stop typing 1 and type l as in lemon
you asked for advice so take it!;)
21pl(lemon) okay:confused:
cnjohnson
03-28-2003, 09:27 AM
Originally posted by 2ndsign
dude stop typing 1 and type l as in lemon
you asked for advice so take it!;)
21pl(lemon) okay:confused:
This person is a troll. She or he needs to go back to Windows.
Cheers--
Charles
skypilot49ul
03-28-2003, 11:47 AM
Thank dude's
Yes I was told to "take a closer look " I didn't know it was a game ,why not if you see a mistake
just point it out like hay you typed one instead of "l" as in lemon.
sharth
03-28-2003, 06:41 PM
so... was it resolved?
if not, try the tab completion, or reply with the output of file <that stupid compressed file>
skypilot49ul
03-28-2003, 06:56 PM
Thank you .
Yes I was able to extract it ,but have not installed it yet