LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 06-02-2010, 09:45 PM   #1
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Rep: Reputation: 15
how to install .tar.gz rpm file


Hello Linux Gurus,

I have installed CentOS 5.5 and I downloaded squid and dansguardian in tar.gz format. how do I install it? I'm only familiar in rpm file.


please help....


Sam
certified linux ----> NEWBIE 45 days old
 
Old 06-02-2010, 09:49 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
tar.gz is a compressed archive format and can contain just about anything.

First, extract the archive using "tar -xzvf filename", and see what's inside.

But, FIRST, are these apps available using your package manager?--Always try there first.
 
Old 06-02-2010, 10:41 PM   #3
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Original Poster
Rep: Reputation: 15
ok. I've aleardy seen a lot of files after your suggested tar command, what would be next for the installation?
Quote:
Originally Posted by pixellany View Post
tar.gz is a compressed archive format and can contain just about anything.

First, extract the archive using "tar -xzvf filename", and see what's inside.

But, FIRST, are these apps available using your package manager?--Always try there first.
 
Old 06-02-2010, 11:14 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Look for a README file with instructions. Also, look for something like an installer script. If there is a MAKEFILE, then you need to compile the SW using the "make" command. Tell us what files you have and we can give more help.

Did you check with the package manager as I suggested earlier?
 
Old 06-03-2010, 01:22 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,239

Rep: Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522
why not use a rpm ?????
yum search ?????
it is in RF repo!
http://www.rpmfind.net/linux/RPM/dag...5.rf.i386.html

you might also want to READ the CentOS wiki / help pages .
http://wiki.centos.org/
http://wiki.centos.org/AdditionalResources/Repositories

Last edited by John VV; 06-03-2010 at 01:24 AM.
 
Old 06-03-2010, 03:47 AM   #6
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Original Poster
Rep: Reputation: 15
yes I've read it it goes with this

[root@testprxy dansguardian-2.10.0.3]# ls
acinclude.m4 config.guess configure.ac doc missing
aclocal.m4 config.log COPYING INSTALL NEWS
AUTHORS configs data install-sh README
autogen.sh config.sub depcomp Makefile.am src
ChangeLog configure dgconfig.h.in Makefile.in UPGRADING
[root@testprxy dansguardian-2.10.0.3]# make
make: *** No targets specified and no makefile found. Stop.
[root@testprxy dansguardian-2.10.0.3]#


Quote:
Originally Posted by pixellany View Post
Look for a README file with instructions. Also, look for something like an installer script. If there is a MAKEFILE, then you need to compile the SW using the "make" command. Tell us what files you have and we can give more help.

Did you check with the package manager as I suggested earlier?
 
Old 06-03-2010, 03:52 AM   #7
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Original Poster
Rep: Reputation: 15
Ive tried this also it only gives me w/ this error:

error: Failed dependencies:
libstdc++.so.5 is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(CXXABI_1.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386



Quote:
Originally Posted by John VV View Post
why not use a rpm ?????
yum search ?????
it is in RF repo!
http://www.rpmfind.net/linux/RPM/dag...5.rf.i386.html

you might also want to READ the CentOS wiki / help pages .
http://wiki.centos.org/
http://wiki.centos.org/AdditionalResources/Repositories
 
Old 06-03-2010, 04:27 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,239

Rep: Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522
so installing the rf reop
Quote:
*

RPMForge - This repository is a collaboration of Dag (who also maintains an individual archive), Dries and other packagers. The archive provides over 4000 packages for CentOS, including mplayer, xmms-mp3 and other popular media tools. You can find more information about rpmforge at http://rpmforge.net/ or read the instructions on Installing RPMForge. This repository is considered by many in the community to be stable and safe.

[attachment:ArtWork/WikiDesign/icon-admonition-info.png]

then using yum to install it
Code:
yum install dansguardian
gave you this error ???
Quote:
libstdc++.so.5 is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
I do not think so seeing as that is a rh9 rpm AND NOT A RHEL 5.5 rpm
 
  


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 to install tar.gz & tar.bz2 file on Linux min Krishnendu Linux Mint 2 07-16-2009 07:52 AM
how to uninstall a software installed with tar.gz file..or .rpm file av.dubey Linux - Newbie 3 06-21-2008 02:27 PM
create an RPM install file from tar? Siljrath Linux - Newbie 8 01-07-2005 02:33 PM
where to find a tar-file in a rpm sneezesnoeze Linux - Newbie 1 04-06-2004 12:18 PM
How to Install tar, zip, rpm file? AskMe Linux - Newbie 5 09-25-2003 04:13 PM

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

All times are GMT -5. The time now is 05:41 AM.

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