LinuxQuestions.org
Visit Jeremy's Blog.
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 04-20-2009, 04:00 PM   #1
Jane2008
Member
 
Registered: Oct 2008
Posts: 36

Rep: Reputation: 15
wget question


Hello folks,
I tried to use wget to download a tar.gz file and it was downloaded successfully.
The question is when I use gunzip to unzip the file it said not in gzip format. The type of the tar.gz file is 'HTML document text'. But the webpage download works fine and it does get a tar.gz file.
How to solve this problem? Thanks.
 
Old 04-20-2009, 04:07 PM   #2
kentyler
Member
 
Registered: Dec 2008
Location: Newark Ohio
Distribution: CentOS
Posts: 245

Rep: Reputation: 36
Sounds like the link goes to a page of mirrors of the file. Follow the link and see.
 
Old 04-20-2009, 04:09 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
in a terminal type
Code:
tar -xvzf foo.tar.gz
 
Old 04-20-2009, 04:10 PM   #4
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
you may have misplaced the exact address ...

Code:
tar -zxvf <filename>
should extract .tar.gz files..


Cheers!!
 
Old 04-20-2009, 04:26 PM   #5
Jane2008
Member
 
Registered: Oct 2008
Posts: 36

Original Poster
Rep: Reputation: 15
I followed the link using webpage and a open/save dialog appeared.
 
Old 04-20-2009, 04:38 PM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Try to right click on the link and choose "Open link in new tab", then try to copy the URL from the address bar in the new tab.
 
Old 04-20-2009, 04:41 PM   #7
Jane2008
Member
 
Registered: Oct 2008
Posts: 36

Original Poster
Rep: Reputation: 15
I tried that just the open/save dialogue appears. There is no address in the new tab.

Quote:
Originally Posted by colucix View Post
Try to right click on the link and choose "Open link in new tab", then try to copy the URL from the address bar in the new tab.
 
Old 04-20-2009, 04:43 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
how is the file called that you downloaded?
 
Old 04-20-2009, 04:47 PM   #9
Jane2008
Member
 
Registered: Oct 2008
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks. It works.
Quote:
Originally Posted by colucix View Post
Try to right click on the link and choose "Open link in new tab", then try to copy the URL from the address bar in the new tab.
 
  


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
wget question coubury Linux - Newbie 7 03-03-2008 08:54 AM
wget question JockVSJock Linux - Newbie 2 06-02-2005 01:47 PM
wget question Jestrik Linux - Software 4 05-01-2005 08:41 PM
Question about wget sdouble Linux - Software 2 06-16-2004 12:36 PM
wget question satimis Linux - Software 4 07-14-2003 05:25 AM


All times are GMT -5. The time now is 03:11 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