Installing Packaging Tools
This is a very basic question, but I'm confused on how to unpackage a .tgz, without Slackware packaging tools (Because that's exactly what I'm trying to unpackage)
So, it's a .tgz file and I tried 'tar -zvxf <pkg>.tgz' and it unpacks, of course, but not to the right place. How do I untar is so it doesn't just create usr, bin, sbin, etc directories in whatever directory I happen to be in? What command options do I use so it untars to where it's SUPPOSED to go?
I know this question is idiotically simple, but I can't seem to find the answer in the man pages or after much searching online.
EDIT: Also, while I'm on the subject...I tried going to the / directory and untarring it, but it still didn't work. I mean, it untarred, but the package tools weren't installed. How can I undo the tar, just in case I overwrote files/messed something up? Somethings tells me this isn't possible.
Thanks in advance,