LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-11-2010, 01:09 AM   #1
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Rep: Reputation: 37
Help require to install the package.


This is my first installation in linux machine .

I m getting following error while installing mrtg.tar.gz .Please help.
Kindly suggest how would i install file with *.tar.gz in linux machine.

Quote:
tar -zxvf mrtg.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
i think this would be helpful.
Quote:
uname -o
GNU/Linux
lsb_release -a
LSB Version: :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: EnterpriseEnterpriseAS
Description: Enterprise Linux Enterprise Linux AS release 4 (October Update 7)
Release: 4
Codename: OctoberUpdate7

Last edited by pinga123; 03-11-2010 at 01:11 AM.
 
Old 03-11-2010, 01:16 AM   #2
spampig
Member
 
Registered: Feb 2010
Location: /Earth/UK/England/Hampshire
Distribution: Debian, Ubuntu, CentOS, Slackware
Posts: 262
Blog Entries: 2

Rep: Reputation: 56
A few things:
first, try it without the dash (-),
Quote:
tar zxvf mrtg.tar.gz
if that fails check the file really is gzipped:
Quote:
file mrtg.tar.gz
If it really is a gzip try this:

Quote:
gunzip mrtg.tar.gz
Then

Quote:
tar -xvf mrtg.tar
HTH
 
1 members found this post helpful.
Old 03-11-2010, 01:18 AM   #3
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
It should work.
If not try
Code:
gunzip x.tar.gzip
tar -xv x.tar
.
Or you can use an archiver such as ark.
The package may be corrupt; in this case, remove the old and redownload.
 
Old 03-11-2010, 01:21 AM   #4
sohail0399
Member
 
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
i think this is only .gz extenstion but not compress in gzip

rename the file with only tar <file_name>.tar
and then use
tar xvf <file_name>.tar


for installation you can also use yum for CetOs/Fedora or apt-get for Ubuntu

EG:as root or admin
yum install mrtg
 
1 members found this post helpful.
Old 03-11-2010, 01:22 AM   #5
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
It's your download.
I downloaded the same file and successfully untarred and extracted it.
 
Old 03-11-2010, 01:39 AM   #6
pinga123
Member
 
Registered: Sep 2009
Posts: 684

Original Poster
Blog Entries: 2

Rep: Reputation: 37
Quote:
Originally Posted by Mr-Bisquit View Post
It's your download.
I downloaded the same file and successfully untarred and extracted it.
where have you downloaded the file.
 
Old 03-11-2010, 01:39 AM   #7
pinga123
Member
 
Registered: Sep 2009
Posts: 684

Original Poster
Blog Entries: 2

Rep: Reputation: 37
Quote:
Originally Posted by spampig View Post
A few things:
first, try it without the dash (-),


if that fails check the file really is gzipped:


If it really is a gzip try this:



Then



HTH
[root@OFSMUW-VMGR-51 tmp]# tar zxvf mrtg.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors


[root@OFSMUW-VMGR-51 tmp]# file mrtg.tar.gz
mrtg.tar.gz: POSIX tar archive


[root@OFSMUW-VMGR-51 tmp]# gunzip mrtg.tar.gz

gunzip: mrtg.tar.gz: not in gzip format
 
Old 03-11-2010, 01:44 AM   #8
pinga123
Member
 
Registered: Sep 2009
Posts: 684

Original Poster
Blog Entries: 2

Rep: Reputation: 37
Quote:
Originally Posted by sohail0399 View Post
i think this is only .gz extenstion but not compress in gzip

rename the file with only tar <file_name>.tar
and then use
tar xvf <file_name>.tar


for installation you can also use yum for CetOs/Fedora or apt-get for Ubuntu

EG:as root or admin
yum install mrtg
I think you are right .
I have followed following steps.
first i went to software directory in my case /tmp
i rename the file mrtg.tar.gz to mrtg.tar
run tar xvf mrtg.tar
It has created mrtg-2.16.3 directory in my /tmp
What would be the next step.
i think i need to run install-sh .
(Just a thought in my mind If the file was not compressed then you the original site has file with gz extention.Being new to linux installation i found this little tricky Can u please solve my doubt)
After running install-sh it says

Quote:
[ mrtg-2.16.3]# ./install-sh
install: no input file specified

Please find the content of mrtg-2.16.3
Quote:
[ mrtg-2.16.3]# ls -ltr
total 500
-rw-r--r-- 1 1003 1001 863 Feb 26 2002 COPYRIGHT
-rw-r--r-- 1 1003 1001 17976 Feb 26 2002 COPYING
-rw-r--r-- 1 1003 1001 537 Feb 26 2002 THANKS
-rwxr-xr-x 1 1003 1001 729 Feb 26 2002 mkinstalldirs
-rwxr-xr-x 1 1003 1001 5598 Feb 26 2002 install-sh
drwxr-xr-x 2 1003 1001 4096 May 23 2003 images
-rw-r--r-- 1 1003 1001 1639 Dec 5 2003 config.h.in
-rw-r--r-- 1 1003 1001 543 Jan 7 2004 README
-rw-r--r-- 1 1003 1001 446 Nov 19 2005 get_ver.awk
-rw-r--r-- 1 1003 1001 1642 Sep 13 2006 MANIFEST
drwxr-xr-x 73 1003 1001 4096 Oct 10 2006 contrib
-rw-r--r-- 1 1003 1001 8295 Mar 11 2007 Makefile.Win32
-rw-r--r-- 1 1003 1001 9468 Mar 11 2007 Makefile.NetWare
drwxr-xr-x 2 1003 1001 4096 May 4 2009 translate
-rw-r--r-- 1 1003 1001 106561 Jan 20 15:36 CHANGES
-rw-r--r-- 1 1003 1001 7279 Jan 20 15:38 configure.in
-rwxr-xr-x 1 1003 1001 174028 Jan 20 15:38 configure
-rw-r--r-- 1 1003 1001 5626 Jan 20 16:14 Makefile.in
drwxr-xr-x 3 root root 4096 Mar 11 13:08 lib
drwxr-xr-x 2 root root 4096 Mar 11 13:13 src
drwxr-xr-x 2 root root 4096 Mar 11 13:13 doc
drwxr-xr-x 2 root root 4096 Mar 11 13:13 bin

Last edited by pinga123; 03-11-2010 at 01:50 AM.
 
Old 03-11-2010, 01:54 AM   #9
sohail0399
Member
 
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
First Read the file

-rw-r--r-- 1 1003 1001 543 Jan 7 2004 README

then follow the steps
 
  


Reply



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
Apache Auth: Using Require User and Require Group newmanium2001 Linux - Software 1 08-25-2009 02:39 PM
Nividia driver install; Does it require internet? iwasapenguin Linux - Hardware 5 06-15-2008 01:48 AM
Apache2 Require user with Require group Russianspi Linux - Server 2 01-30-2008 11:21 AM
php source install require flex 2.5.4 ?? hottdogg Programming 2 06-29-2006 09:09 PM
does install gdm require kdebase? shshjun SUSE / openSUSE 6 12-18-2005 02:36 AM

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

All times are GMT -5. The time now is 05: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
Open Source Consulting | Domain Registration