LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-07-2007, 12:26 PM   #1
jestinjoy
Member
 
Registered: May 2004
Location: India
Distribution: Ubuntu 9.04, Debian Lenny
Posts: 121

Rep: Reputation: 22
Difference between .gz and .rpm


What is the difference between .gz and .rpm.........
What does .tar.gz mean..........
Is it possible to run .tar.gz extension file on Mandriva Linux


PLEASE HELP
 
Old 09-07-2007, 12:39 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by jestinjoy View Post
What is the difference between .gz and .rpm.........
gz = gzip, an archive file like pkzip. rpm = redhat package manager, a software package which includes information to allow a packet manager to install it.

Quote:
What does .tar.gz mean..........
tar = tape archive, is an archive like zip only uses a different method. somefile.tar.gz (= somefile.tgz = "tarball") is a file that has been archived with tar and then with gzip.

Quote:
Is it possible to run .tar.gz extension file on Mandriva Linux
No... these are not executable file formats. You need a package manager to install software from rpm files - mandriva uses urpmi for this. gz archives need gzip and tar packages need tar. Use the man command to find out about them:

man tar
man gzip
man urpmi

Usually, if you double-click on the file's icon, mandriva will provide an appropriate action... browse contents (.tar.gz and other archives) or attempt to install with urpmi (rpm files: must be mandriva rpms though).

Last edited by Simon Bridge; 09-07-2007 at 12:43 PM.
 
Old 09-07-2007, 04:13 PM   #3
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
I suggest reading a book on Linux, as these are pretty basic concepts,
and reading a book on the subject will inform you of a lot of these
things before you have the chance to get confused. I suggest
Running Linux published by O'Reilly. Also Learning the
Unix Operating System
is a good quick intro.

Joel
 
Old 09-07-2007, 08:49 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
I suggest reading a book on Linux
actually, just googling the terms would have done the trick:

gz returns:
http://www.gzip.org/
http://en.wikipedia.org/wiki/Gzip

rpm returns:
http://www.rpm.org/
http://en.wikipedia.org/wiki/RPM_Package_Manager

.tar.gz returns:
http://www.gzip.org/
http://en.wikipedia.org/wiki/Tar_(file_format)

However, I suspect OP has a particular problem in mind... probably trying to install software from a third party like you expect to do in Windows or Mac, and has run into one of the many gotchas in this approach.

You are probably correct and a book is warranted. It looks like there is a fundamental misunderstanding there which will need to be addressed on many levels, and a book will provide that.
 
Old 09-09-2007, 11:44 AM   #5
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
Quote:
Originally Posted by Simon Bridge View Post
actually, just googling the terms would have done the trick:
I definitely agree: one of the best strategies for finding the root of an error is to just enter the error message into Google.

I like reading books and once I've read a book, I have a much better understanding of the whole process. I have a much more flexible understanding of what's going on.

I also have trouble relating because I unzipped my first tar.gz files when I was in the eighth grade...

Joel
 
Old 09-09-2007, 06:29 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Windows users are encouraged to be ignorant and pedantic ... follow the instructions exactly and don't ask questions: good thrall. So when they see something different they get lost. No "figure it out" skills. MS thinks their customers are, incapable of acquiring them, or pirates.

8th grade huh? You have clearly been encouraged towards learning and understanding.
 
Old 09-10-2007, 09:02 AM   #7
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
Quote:
Originally Posted by Simon Bridge View Post

8th grade huh? You have clearly been encouraged towards learning and understanding.
I wish I could say that was it: we had "internet accounts" at my school district and that meant using UNIX (sometimes Sun, sometimes AT&T) by dialing in to the university. CLI and text-oriented computing feels like home to me because when I started using computers, that was the only choice. So, I had access to Unix up until about 2001, when the university insisted everybody switch to web-based email. All I used was Windows for a few years, then I found out about Linux. When I found out I could have Unix at home I was over-joyed. However, I did have to read a few books before I felt comfortable with a lot of commands. Nevertheless I "got it" right away and I think you're right that it takes a while for people to "get it" if they're coming from another system. I found Running Linux to be very helpful in this respect.

Joel
 
  


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
What is difference between an i386 rpm and an i686 rpm package? rajat Linux - Software 2 03-25-2007 10:55 PM
difference between RPM and iso igracgq Linux - Newbie 4 12-28-2004 07:57 AM
what is difference between srpm and rpm?? jinxp7 Linux - Newbie 2 09-06-2004 09:17 PM
Difference Between RPM and Make r4merlin Linux - Newbie 1 11-15-2003 09:02 PM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 06:12 PM


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