chiatello
07-19-2003, 01:04 PM
well my question , is how do i open the file?
i konw how to install it afterwards
its a .tgz (in command line)
i konw how to install it afterwards
its a .tgz (in command line)
|
Click to See Complete Forum and Search --> : installing .tgz? chiatello 07-19-2003, 01:04 PM well my question , is how do i open the file? i konw how to install it afterwards its a .tgz (in command line) scinerd 07-19-2003, 01:09 PM sounds like it's a compressed tar so tar -zxf filename.tgz should untar the directory/files then you can install it. Darkbolt 07-19-2003, 01:10 PM if its a tgz file, also make sure it's not a slackpack mdwatts 07-19-2003, 01:25 PM From the JL Help File on Compiling Software. Unpacking the Source Package When you download a source package, it will normally be in an archived and compressed format. They will have the extension .tar.gz or .tgz. These files are called tarballs in Linux speak. A .tar.gz file and a .tgz file are the same. .tgz is just shorthand for writing tar.gz. Beware, though, certain .tgz packages are made specifically for Slackware's pkgtool. Make sure you check if a tarball is for generic Linux systems or for Slackware. If the tarball is a .tar.gz it is most likely for a generic Linux system. If you happen to download a tarball from a Windows OS, there is a chance that the tarball's extension will get mangled. For instance, you want to download foo.tar.gz. After downloading you find that it has been saved as foo_tar_tar. This is probably due to the multiple dots in the original filename. Simply rename it back to foo.tar.gz or foo.tgz. Both are fine. Save the tarball to a temporary directory. This can be /tmp or wherever you like. Assuming you saved it in /tmp, you can now begin to unpack it with the following command (as root): tar xvzf foo.tar.gz This assumes that the file you want to unpack is foo.tar.gz. The above tar command along with its options will unpack and uncompress the file. Otherwise you would have to do it this way: gunzip foo.tar.gz tar xvf foo.tar That is fine too. Personally I prefer not having to type two commands if I can do it all in one command. Once you have unpacked the source, a directory will (most of the time) be created. This directory will be the name of the tarball. chiatello 07-19-2003, 01:32 PM [root@mshome tom]# cd winetools winetools-1.22 winetools-1.22.tgz [root@mshome tom]# cd winetools-1.22 [root@mshome winetools-1.22]# ls install.sh* license.txt readme.txt version winetools* [root@mshome winetools-1.22]# ./install.sh mkdir: cannot create directory `/root/winetools': File exists mkdir: cannot create directory `/root/winetools/dcom': File exists mkdir: cannot create directory `/root/winetools/fonts': File exists mkdir: cannot create directory `/root/winetools/install': File exists mkdir: cannot create directory `/root/winetools/log': File exists ln: `/root/wt': File exists [root@mshome winetools-1.22]# [root@mshome winetools-1.22]# [root@mshome winetools-1.22]# cd /root/wt bash: cd: /root/wt: Not a directory [root@mshome winetools-1.22]# justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |