LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-31-2004, 11:35 PM   #1
gaviidae
Member
 
Registered: Jun 2004
Location: West Michigan
Distribution: limping along with MD10, Knoppix3.6 : )
Posts: 62

Rep: Reputation: 15
first time using tar and not werkin' :)


I try to install the flash player. In /home/myusername/tmp is the install_flash_player_7_linux.tar.gz and I read here in other forums to
$ tar -xzf install_flash_player_7_linux.tar.gz
and nothing seems to happen, not even an error. However there is no directory created as I've been told should happen, in fact I
$ ls
and the installer with .tar.gz is still there
Now --before-- trying the tar -xzf stuff I managed to screw myself up with
$ gunzip install_flash...etc...linux.tar.gz
and ended up with the file without the gz on the end but it was still a .tar file so I went to the man page (good idea??) and read it without comprehending because it looked like I wanted to use the -c option (make a new place to put the new untarred file yes? because I didn't want to overwrite something like it warned me that it might). so I took the tar file and
$ tar -c install...linux.tar
and my screen puked (the whole file I think scrolled past). After it was done, I had nothing so I tried to remove the screwed up file with rm:
$ rm -r install...linux.tar
but it's still there when I "ls" the tmp file but it DID change color (whoohoo) and I think maybe now that's an empty subdirectory but I went to man rm and didn't want to risk using -d option because in my hands, might somehow wipe out my /home/myusername/tmp directory and that's not what I want to do (other good stuff in there).
I re-downloaded the .tar.gz file and now it's sitting in my tmp directory.
"Alex, I'll take Newbie Screwups for $500."
(you answer here)
"What is, What did I do wrong and did I somehow not do enough research??"
My UNIX classes at school don't start until the fall here in the USA. :)
--gaviidae
 
Old 07-31-2004, 11:39 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Your original tar -xzf command looks correct (and if you don't enable verbose mode with a -v tar won't report anything unless it finds an error), so try redownloading the file and doing tar -xzvf <file>. BTW tar -c is only for when you want to create a new tar file with other files in it.
 
Old 07-31-2004, 11:57 PM   #3
gaviidae
Member
 
Registered: Jun 2004
Location: West Michigan
Distribution: limping along with MD10, Knoppix3.6 : )
Posts: 62

Original Poster
Rep: Reputation: 15
the -verbose option made it list all the files that were packaged with that .tar.gz file. I assume that that means i have "unpackaged" them but there is supposed to be a cirectory created called /install_flashplayer
I don't see it. Maybe I'm looking in the wrong place.
Maybe tar worked fine and I'm just not finding where it put my installer?
should I go back to / and ls and look there? Because I tried the
cd /install_flashplayer
It's not a directory (but it should be)
thx
gaviidae
 
Old 08-01-2004, 12:15 AM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
cd /install_flashplayer would imply that /install_flashplayer was created as a subdirectory of the root directory, which is probably not what happened. Did you just try cd install_flashplayer (note no leading slash) from wherever you extracted the tat file?
 
Old 08-01-2004, 12:23 AM   #5
gaviidae
Member
 
Registered: Jun 2004
Location: West Michigan
Distribution: limping along with MD10, Knoppix3.6 : )
Posts: 62

Original Poster
Rep: Reputation: 15
Yeah tried it, no such directory or file.
I untarred it where it was, /home/username/tmp
if I ls while under tmp it shows two files that have always been there (dunno what they do) and the bad .tar file and the re-downloaded .tar.gz file that I (hopefully) untarred.
Flash's site says (just like someone here said in answer to an install Mozilla question) that a new directory will be created called
install_flashplayer_7_linux
and it says Navigate to it (which I can't) and then tell it to run the installer with
./flashplayer-installer
I've even tried going everywhere with cd and just randomly typing the installer command.
So I guess I'm still not sure if tar worked.
gaviidae
 
Old 08-01-2004, 12:34 AM   #6
gaviidae
Member
 
Registered: Jun 2004
Location: West Michigan
Distribution: limping along with MD10, Knoppix3.6 : )
Posts: 62

Original Poster
Rep: Reputation: 15
$ tar -xvjf MPlayer-1.0pre5.tar.bz2
$ cd Mplayer-1.0pre5/
$ ./configure

This here was another example I found on another forum (newbie wanted to install mplayer).
I noticed the person placed a / at the end of the new file name.
Ah
In my other terminal, I did just what this guy did and it only works if I don't do another command like looking at the directions in vi :)
I had to tar, then cd with a slash after the filename, and then the installer file worked.
Whew.
thx for the help, I have to close my browser now Miller.
--gaviidae
 
Old 08-01-2004, 01:47 AM   #7
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
cd install_flashplayer_7_linux you will know when you are there because the prompt will change then
./flashplayer-installer
you can see what I mean by;
mkdir test
cd test

Last edited by comprookie2000; 08-01-2004 at 01:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 11:55 AM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 12:02 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 07:30 AM
tar command will only do one file at a time Travis86 Linux - Newbie 4 03-15-2003 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration