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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-14-2003, 03:05 AM
|
#1
|
Member
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420
Rep:
|
how to extract tgz
hey guys
how would i extract /.tgz files?
thanks guys
|
|
|
12-14-2003, 03:12 AM
|
#2
|
Member
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653
Rep:
|
.tgz and tar.gz files are pretty much the same. You extract them like this:
Code:
tar xvzf file.tar.gz
tar xvzf file.tgz
That's all there is to it
Baldrick
|
|
1 members found this post helpful.
|
12-14-2003, 03:23 AM
|
#3
|
Member
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420
Original Poster
Rep:
|
thanks baldbrick65
|
|
|
12-14-2003, 03:27 AM
|
#4
|
Member
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653
Rep:
|
To find out what the 'xvzf' mean, use from a console.
Baldrick
|
|
|
12-14-2003, 10:11 AM
|
#5
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
12-14-2003, 10:51 AM
|
#6
|
Member
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420
Original Poster
Rep:
|
meh
when i do the installpkg thing it gives me this:
bash: installpkg: command not found
any suggestions?
|
|
|
12-14-2003, 10:52 AM
|
#7
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep:
|
Have to 'su'.
|
|
|
12-14-2003, 11:16 AM
|
#8
|
Member
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420
Original Poster
Rep:
|
ah thanks digiot
|
|
|
12-14-2003, 11:45 AM
|
#9
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by Longinus
ah thanks digiot
|
Yeah, you should notice when I mentioned this, I stated you will have to be logged in as root, either logging in or using su of course.
Cheers.
|
|
|
12-14-2003, 09:11 PM
|
#10
|
Member
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420
Original Poster
Rep:
|
oh woops sorry
heh heh ^_^;
a bit careless there....
|
|
|
12-16-2015, 06:07 AM
|
#11
|
LQ Newbie
Registered: Dec 2015
Posts: 6
Rep:
|
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
Last edited by rahul zinjurde; 12-16-2015 at 06:09 AM.
|
|
|
12-16-2015, 06:15 AM
|
#12
|
LQ Newbie
Registered: Dec 2015
Posts: 6
Rep:
|
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...
Last edited by rahul zinjurde; 12-16-2015 at 06:19 AM.
|
|
|
12-16-2015, 07:13 AM
|
#13
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,856
|
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/
|
|
|
12-21-2015, 03:21 AM
|
#14
|
LQ Newbie
Registered: Dec 2015
Posts: 6
Rep:
|
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
|
|
|
12-21-2015, 03:30 AM
|
#15
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
Quote:
Originally Posted by rahul zinjurde
for ex= here
oct.tar.gz and nov.tar.gz are two file how combine this two in one
|
As suggested above, please create your own thread describing your problem.
|
|
|
All times are GMT -5. The time now is 05:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|