LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-26-2003, 09:18 PM   #1
nchauhan
Member
 
Registered: Jun 2003
Location: TX, USA
Distribution: Red Hat 9.0
Posts: 43

Rep: Reputation: 15
how do we work with *.tgz file?


Hi,

How do we work with *.tgz files? I want to install on of these kinda of file, so what command do I use? tar???
 
Old 06-26-2003, 09:25 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
A *.tgz file could be either a *.tar.gz file (extesion shortened-not that common now) or a Slackware package.
If you must ask, it is usually best to use a package made for your distribution or compile from souce (usually *.tar.gz now-a-days).
Is this an unusual or older program not available in a Suse RPM or is it just the first file you have found of it?
 
Old 06-26-2003, 09:26 PM   #3
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
If its a Slackware Package (it would say it on the website), then you use:

installpkg [packagename].tgz


Other than that, its just a shortening for tar.gz , so use it just like you would any tarball.

tar -xvzf [filename].tgz
 
Old 06-26-2003, 09:42 PM   #4
nchauhan
Member
 
Registered: Jun 2003
Location: TX, USA
Distribution: Red Hat 9.0
Posts: 43

Original Poster
Rep: Reputation: 15
Thank you contrasutra and 2damncommon, I got it.

It was a tar.gz, I used the command (by contrasutra) and it worked. Thank you very much both of you!


Now how do I have to run/execute the program? it has this executable file 'ic4'. As far as I know its a GUI program.
 
Old 06-26-2003, 09:46 PM   #5
nchauhan
Member
 
Registered: Jun 2003
Location: TX, USA
Distribution: Red Hat 9.0
Posts: 43

Original Poster
Rep: Reputation: 15
Got it, just have to change PATH!

Thank you.
 
Old 06-26-2003, 09:47 PM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
Got it, just have to change PATH!
That was the reply I was typing.
Good work.
 
  


Reply



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
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
how do I install an tgz file samuelmp Linux - Software 15 10-29-2004 01:16 PM
how to extract file *.tgz vanhelsing Linux - Software 1 06-05-2004 06:07 AM
tgz file doesn't end in .tgz? detpenguin Slackware 4 05-15-2004 07:13 PM
how do i install a .tgz file? keegan Linux - Newbie 6 01-09-2004 02:35 PM

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

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