Results 1 to 10 of 11
Hello,
How can i extract a .tgz file ?
tar -zxvf sample.tar.gz gives the result --> bash: tar: command not found
echo $PATH gives the result --> /usr/local/bin:/bin:/usr/bin
Could someone ...
- 06-09-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 6
Where is TAR ? tar: command not found
Hello,
How can i extract a .tgz file ?
tar -zxvf sample.tar.gz gives the result --> bash: tar: command not found
echo $PATH gives the result --> /usr/local/bin:/bin:/usr/bin
Could someone explain ?
- 06-10-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Tar should be in /bin and executable by everyone. Try /bin/tar instead. If that works, then your PATH environment variable is probably wrong. All Linux and Unix systems have tar installed - it is a basic tool that cannot go missing. If for some reason your system is missing it, then I suspect there is a lot more wrong there.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-10-2009 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 6
- 06-10-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
What distribution and version of Linux are you running? Is it Fedora, an old Red Hat, a newer Red Hat, or CentOS?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-10-2009 #5Just Joined!
- Join Date
- Jun 2009
- Posts
- 6
an old redhat. see below
i only have SSH access (chrooted)
it is a hosted server running PLESK version 8.4
Nov 10 2005 20:40:56
Configure Command './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '-
- 06-10-2009 #6Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
When you get into the system via ssh, what is the output of the command: uname -a
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-10-2009 #7Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
In any case, the tar command should be available on the system. I can understand why some commands are removed from user access on a hosted system, but that should not be one of those. Contact your system administrator and have them restore tar, and any other missing utilities such as gzip, bzip2, and such.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-10-2009 #8Just Joined!
- Join Date
- Jun 2009
- Posts
- 6
bash-3.00$ uname -a
bash: uname: command not found
- 06-10-2009 #9Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Well, from the looks of it, you are missing a lot of important system utilities. Personally, I think you need to give your hosting provider a whack up the side of the head, and refuse to pay until the standard system tools are made available to you. Just my opinion, but then I am just stating what I would do in your position...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-10-2009 #10Just Joined!
- Join Date
- Jun 2009
- Posts
- 6
Thanks,
I suspected things might not be installed.
i have sent an email to the host provider.........in the meantime
Thank you all for the help Rubberman.


Reply With Quote
