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 04-15-2005, 11:57 PM   #1
Linux nooB 454
LQ Newbie
 
Registered: Mar 2005
Location: Chicago
Posts: 22

Rep: Reputation: 15
Help with tar.gz


Ok,
I run Vida linux 1.1, and I need to unzip some tar.gz files. I can read the contnts of what is inside the file, but can not run the set up. I says that it is an unknown file type and show the little gnome foot. When I try to run it. all it will do is give me an option about whether to run it in seperate window or not...then it will open text editor and show me the code...How do I get it to run?
Thanks,
 
Old 04-16-2005, 12:43 AM   #2
Ken1015
LQ Newbie
 
Registered: Mar 2005
Location: Chicago, IL
Distribution: SuSE 9.2 Pro
Posts: 11

Rep: Reputation: 0
I don't understand whether you're asking how to untar and unzip or just install. If you need to untar and unzip then simply type "tar -xzvf (filename)" Once this is done then you can navigate to the file's directory, if one is created, and type "./configure &&make &&make install" to make and install the program in one fell swoop.
 
Old 04-16-2005, 12:53 AM   #3
Linux nooB 454
LQ Newbie
 
Registered: Mar 2005
Location: Chicago
Posts: 22

Original Poster
Rep: Reputation: 15
i am asking how to install the "unkown pakages" as it says. Do I need to type the commands for install in?
Thanks!
 
Old 04-16-2005, 01:04 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
More info would be useful e.g. what package you are trying to install and the files you extracted from the tarball.
 
Old 04-16-2005, 04:23 PM   #5
Linux nooB 454
LQ Newbie
 
Registered: Mar 2005
Location: Chicago
Posts: 22

Original Poster
Rep: Reputation: 15
I am trying to install xampp, php, mysql, and the little mac OS x like dock at the bottom of your screen.
 
Old 04-16-2005, 04:59 PM   #6
audibel
Member
 
Registered: Oct 2004
Distribution: Debian Sarge
Posts: 177

Rep: Reputation: 30
Why don't we try it from the console... Open your console application and enter the directory in which the file is located. If the file type is tar.gz then issue the command tar -zxvf <filename> which should create a directory from the tar.gz file. Then if you still don't know what to do, come back. Are you trying to install from source, or is it supposed to be a binary?
 
Old 04-16-2005, 06:18 PM   #7
Hosiah
Member
 
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185

Rep: Reputation: 30
pardon me if you already know this:

If you're looking at this file and it's a little picture (i.e. an "icon") try right-clicking on it with the mouse and look for the menu that pops out of it. If one of the menu items says "extract here" click that.

If you're in text mode (a terminal windows that's all words and punctuation, no pictures) then Ken1015's reply will work. FYI, the two compression programs are different. "Tar" stands for "tape archive" and was originally used to compact files so they could fit on reels of tape (back when all computers stored data that way). The "gz" part is from "GNU zip", the zip/unzip utility for GNU/Linux.

By the way, when you extract a tarball, you might want to give it it's own directory. 9/10th of the time, the person packing the tarball had enough sense to put it in a directory, and the 10 out of tenth time, you have to spend half an hour picking the untarred files out of the other files in your home directory...

Last edited by Hosiah; 04-19-2005 at 07:53 AM.
 
Old 04-16-2005, 06:19 PM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
doesn't vida use portage? why not use that?
 
Old 04-16-2005, 08:55 PM   #9
Linux nooB 454
LQ Newbie
 
Registered: Mar 2005
Location: Chicago
Posts: 22

Original Poster
Rep: Reputation: 15
What is protage? Sorry if I am being dense.
 
Old 04-17-2005, 03:35 AM   #10
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
as root type:

emerge <what you want>

note that not everything under the sun is in portage, but there is alot there.
try:

emerge php
 
Old 04-17-2005, 03:47 AM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Portage is the gentoo package management tool.
 
Old 04-17-2005, 04:17 AM   #12
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
isn't vida a gentoo fork?
 
  


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 03:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 11:55 AM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 12:02 PM
.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


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