LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-16-2005, 12:45 AM   #1
dreyes81
Member
 
Registered: Dec 2004
Location: Nashville, born and raised in NY
Distribution: Fedora Core 4
Posts: 39

Rep: Reputation: 15
Talking Tar.Gz program


Is there a program to unzip and install a tar.gz ??? Is there any way to make a shell to do this. If not what would be a good prgramming language to do this, Java, Perl, C ++??
 
Old 01-16-2005, 12:52 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
it takes a couple of programs: tar and gzip. (if it is a tar.bz2 then its tar and bzip2 ).

from a shell:
Code:
tar -zxvf program.tar.gz
if you use kde it comes with a program called ark that will unzip it for you

if you use gnome it uses file-roller for extraction.

I should note that most (as in virtually all) tar.gz files are not programs but source directories. you have to compile them in order to run the program. If your looking for ready-to-go programs, you need rpm's (for fedora and other rpm based distro's) which are precompiled packages you install on your distro.

Head over to the fedora forum on this board to learn how to set up yum for fedora. It will make it easy to get and install programs precompiled and ready to go.
 
Old 01-16-2005, 01:00 AM   #3
dreyes81
Member
 
Registered: Dec 2004
Location: Nashville, born and raised in NY
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
file-roller

Thanks i will def head over to setup yum, but I have gnome, I see the file roller and then a folder pops up how would i install that program from there? Would i have to double click on a particular file to download, like in windows? Or is the terminal the only option for install?
 
Old 01-16-2005, 01:10 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Once the folder pops up, ( most tar.gz/tar.bz2 archives extract into a folder unlike .zip which just have loose files in them) click on the folder to highlight it, the click the extract button. After that, a file dialog appears asking you to pick a directory to extract the folder to. Finally, click the extract button at the bottom right corner to do the actual extraction.
 
Old 01-16-2005, 01:34 AM   #5
dreyes81
Member
 
Registered: Dec 2004
Location: Nashville, born and raised in NY
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
i have the box with the letter in it. I right click it and hit extract. A folder then pops up in my home directory
I am trying the install kcheckgmail and k3b. They both have folders in my home directory, I dont see anymore extracting buttons on the folders i created the first time i hit extract
 
Old 01-16-2005, 01:40 AM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
these are source directories. You have to cd into them and build them (from the shell). I'm sure there are good rpm's out there that you can install for these packages using yum or some other program. The reason I say this is because on some distro's (fedora, mandrake and suse especially) the system is split into different parts (the usable files from the development files). If you do not have all of the development files, you cannot compile the given application. But with yum or another package manager, you just type something along the lines of "yum install k3b" and it handles everything for you. Definitely head over to the fedora board and get yum runnin..
 
Old 01-16-2005, 01:41 AM   #7
dreyes81
Member
 
Registered: Dec 2004
Location: Nashville, born and raised in NY
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
thanxs

Thanks I will do that now!!
 
Old 01-16-2005, 02:04 AM   #8
dreyes81
Member
 
Registered: Dec 2004
Location: Nashville, born and raised in NY
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
YUM ROCKS!!!!!!!

YUM is so freaking easy !!!!!!!! I love it thank you and I am the smartest man alive!!!!
 
  


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 can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
how do i remove a tar.gz program? neilcpp Linux - Software 4 09-01-2005 01:23 PM
How do i install a program (rpm or tar.gz) scripts Linux - Newbie 15 12-26-2004 04:25 AM
I can't open the tar ball and install the program Gins Linux - General 53 12-02-2004 01:50 PM
How to uninstall program compressed with tar.gz ronronson Linux - Newbie 1 06-11-2004 03:50 AM

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

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