how to extract tgz
hey guys
how would i extract /.tgz files? thanks guys |
.tgz and tar.gz files are pretty much the same. You extract them like this:
Code:
tar xvzf file.tar.gz Baldrick |
thanks baldbrick65
|
To find out what the 'xvzf' mean, use
Code:
man tar Baldrick |
And in most cases tgz files are specifically for Slackware systems using the pkgtools to install, remove and upgrade packages.
If you installing a tgz on your Slackware system you can just download or obtain the package and do this to install it as root: installpkg <package-name.tgz> To remove you would simply: rmovepkg <package-name.tgz> And if you already have the package installed and you want to upgrade it by checking in your /var/log/packages directory to see if it is already installed, you would do something like this: upgradepkg <name-of-old-package>%<newpackage.tgz> Note, this method will only work with the tgz files, not the tar.gz. tar.gz or source files will need to be installed the usual way of installing source files, etc. |
meh
when i do the installpkg thing it gives me this: bash: installpkg: command not found any suggestions? |
Have to 'su'.
|
ah thanks digiot
|
Quote:
Cheers. |
oh woops sorry
heh heh ^_^; a bit careless there.... |
how to extract tar.gz file
in linux how to extract tar.gz file
please give me a answer..... i think tar -xf is it right or not |
find particular string
suppose any string has 25 character.but i find only 4 character.
so how can i find this 4 character ... so please give me a ans... |
It is usually preferred that you start your own thread rather than reviving a 12 year old thread. The answers are in post two above. If you want more details they are readily available online at sites such as the one below which gives a fairly detailed explanation of the options.
http://www.cyberciti.biz/faq/linux-u...ct-targz-file/ |
combine two zip file in one file
for ex= here
oct.tar.gz and nov.tar.gz are two file how combine this two in one |
Quote:
|
All times are GMT -5. The time now is 10:19 PM. |