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 02-13-2005, 05:04 AM   #1
keiwu
Member
 
Registered: Feb 2005
Posts: 77

Rep: Reputation: 15
don't know how to install *.tar.gz


In fact I don't know how to handle this.
I want to install bluetooth dongle and read one of the post in this section.
And I click the one of the link and this file pops up.
2 options for me to choose: 1 open it with some software 2 save it
I don't know how to open it even though I save it so I choose option 1 to open it.
After finish downloading, a list of files is extracted to the folder. But what should I do for those files? I am using Fedora core3, and am so new to linux
 
Old 02-13-2005, 05:14 AM   #2
postmaik
Member
 
Registered: May 2004
Location: @ Lake Constance, Germany
Distribution: FC3, Kernel 2.6.10
Posts: 46

Rep: Reputation: 15
Hi,

when the window shows you the content of the *.tar.gz file, then this is Ark, the unpack program. Here you can unpack the files to a folder where you want to have the content. In the extracted files there must be an installer like install.sh or something like this. And there should be a README where you can read how to install the software just downloaded.
But as you are using FC3 you can search the software at www.rpmseek.com or rpm.pbone.net and download an rpm. This can be installed by
Code:
rpm -ihv <name_of_package>.rpm
. The advantage of the rpm is that you can easily uninstall the software if you want...

Hope this helps.

Maik
 
Old 02-13-2005, 01:16 PM   #3
adityabhat2
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Rep: Reputation: 0
.gz are zip files

u can open them by
$ gunzip filename.gz
 
Old 02-13-2005, 01:21 PM   #4
keiwu
Member
 
Registered: Feb 2005
Posts: 77

Original Poster
Rep: Reputation: 15
thank you.
where do I type this command line?
 
Old 02-13-2005, 03:09 PM   #5
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
At a command-line prompt. Name it a shell, a console, a terminal, a konsole, whatever (though they aren't exactly the same thing).
So, press Ctrl-Alt-F1 to get to a command-prompt (or from one of the menus select the 'terminal' option, I don't know exactly in FC), then type whatever you want.
If it's the case for a .tar.gz file, type 'tar -xzf filename.tar.gz'. If it's a .tar only file, skip the 'z' in the previous command. That should create a directory with almost the same name with the file you just unpacked. Type 'ls' to see what's the directory's name, then 'cd directory_name'. And you should find there a Readme file or something that you can figure out.
 
Old 02-13-2005, 04:35 PM   #6
JoannesX
Member
 
Registered: Dec 2004
Location: Brazil
Distribution: Slackware
Posts: 99

Rep: Reputation: 15
you can do it this way:

tar -xzvf *tar.gz

where

% x indicates that you're unpacking the file

% z indicates that it is a .gz (gunzip) file. IF THE END OF THE NAME IS .bz2, YOU HAVE TO USE "j" INSTEAD..

% v=verbose.. shows the process.

% f indicates the file..

After that, a directory will be created usually with the name of the file without ".tar.gz".

enter that directory and type "./configure"
it should configure your program.. if it doesn't work maybe there are some dependencies missing (such as libraries...)
PAY ATTENTION TO THE ERROR MESSAGES, THEY WILL SHOW YOU WHAT IS MISSIN'..

if you see that configure worked, type "make", and when it's finished, type "make install".. so your program should be compiled and installed, friend..

sometimes the "./configure" is not necessary.. and sometimes you must unpack the file in a certain folder such as in the root partition folder (/)..
I had to do that with my wine..
just had to unpack it in the / folder and it was working..
just google for some information on that,ok?

hope it's useful for now..
 
  


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
how to install .tar.gz and .tar.bz and .src.rpms gadekishore Linux - Software 3 08-06-2010 06:02 PM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 09:09 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 12:15 PM.

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