LinuxQuestions.org
Review your favorite Linux distribution.
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 08-05-2004, 12:09 PM   #1
honu
LQ Newbie
 
Registered: Oct 2003
Location: Huntington Beach, CA
Distribution: RH 7.3, suse9.1
Posts: 7

Rep: Reputation: 0
unpackaging tar, gz, rpm??? & gcc


two questions. I am currently running RH 7.3.

1. how do I install tar, gz, and rpm programs I have downloaded?

2. I am interested in triple booting by installing SuSE 9.1, but have read what seem to be numerous problems getting gcc to load and run. What is gcc and as a newbie is this something I need?

Thanks.

Kevin
 
Old 08-05-2004, 12:16 PM   #2
druisgod
Member
 
Registered: Jun 2004
Location: Maine
Distribution: LFS Mint OS, LFS, CENTos,
Posts: 119

Rep: Reputation: 18
To install a rpm, just rpm -ivh packagename.rpm
To compile source by using the tar.gz or tar.bz2, you have to tar xfz or tar xfj respectively, then cd into the directory created and follow the instruction usually found in either README or INSTALL.

Usually they come out to be

./configure && make && make install


As far as triple booting with SUSE, the gcc they are talking about is a c compiler (GNU C Compiler). The issue, though I have not heard it is about gcc 2.95 vs gcc 3.3whatever. Its geek speak, and it varies by whom you talk to as for there opinion. Best idea is to just try it out yourself and decide. The "free as in freedom" means the ability to choose. Its what we're all about. . .


Druisgod

Last edited by druisgod; 08-05-2004 at 12:19 PM.
 
Old 08-05-2004, 12:29 PM   #3
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
One problem is that SuSE does not include gcc with the personal edition by default, so you need to install it from RPM before you can compile your own programs (the ./configure, make, make install described above). Some people have trouble getting gcc to install from RPM, but with a little effort it's doable. You'll also need other development packages like the glibc header files (glibc-devel) and the like.
 
Old 08-05-2004, 02:23 PM   #4
Slyder42
Member
 
Registered: Jun 2004
Location: Wheaton, IL
Distribution: trying to get FC4 to work
Posts: 46

Rep: Reputation: 15
Quote:
Originally posted by druisgod
To install a rpm, just rpm -ivh packagename.rpm
To compile source by using the tar.gz or tar.bz2, you have to tar xfz or tar xfj respectively, then cd into the directory created and follow the instruction usually found in either README or INSTALL.

Usually they come out to be

./configure && make && make install
I am a linux newbie too. what does tar xfz and tar xfj stand for and do. Running Fedora Core 2..... If there is an easier way to do this, let me in on it...

can i use up2date to keep downloaded packages current?
 
Old 08-05-2004, 02:28 PM   #5
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
Here are what the options to tar mean:

x = eXtract, i.e. inflate the tarball
z = unZip, to, uncompress gzipped (gz) files before extracting
j = inflate bzip2 (bz2) compressed files before extracting
f = Filename, i.e. the name of the tar file to work on.

You can probably do this through a GUI, but it's nice to know how to do it on the command line. Another useful option is v for verbose, which has tar tell you what files it is extracting from the tarball.
 
Old 08-05-2004, 03:09 PM   #6
druisgod
Member
 
Registered: Jun 2004
Location: Maine
Distribution: LFS Mint OS, LFS, CENTos,
Posts: 119

Rep: Reputation: 18
BTMiller is right. For more info do a " man tar" at the command line.

Druisgod
 
Old 08-05-2004, 03:17 PM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
another advantage of using command line in place of gui's
it is fast
and
u can know the commands which are very usefull while in resue mode
 
  


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
Difference between .src.rpm & .tar.gz packages chinmay nautiya Linux - Software 18 08-10-2006 08:00 AM
gcc gdb errno & rpm difficulties jg167 Fedora 0 10-26-2004 05:46 AM
Is there a way to transform tar.gz into rpm or is there a GUI for tar.gz MElipse Linux - Newbie 2 04-11-2004 05:31 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 01:08 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 07:30 AM

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

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