LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do we work with *.tgz file? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-we-work-with-%2A-tgz-file-68342/)

nchauhan 06-26-2003 09:18 PM

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???

2damncommon 06-26-2003 09:25 PM

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?

contrasutra 06-26-2003 09:26 PM

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

nchauhan 06-26-2003 09:42 PM

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.

nchauhan 06-26-2003 09:46 PM

Got it, just have to change PATH!

Thank you.

2damncommon 06-26-2003 09:47 PM

Quote:

Got it, just have to change PATH!
That was the reply I was typing.
Good work.


All times are GMT -5. The time now is 05:14 PM.