In alt.linux on Thursday 20 October 2011 08:04, Sydney implied the
following...
GNU tar should normally be installed by default in every GNU/linux
distribution, /and/ it should also be executable for you.
I see only two possibilities. Either...
1) You have inadvertently typed a control character - i.e. an
invisible character - in the command as you pasted here above,
which of course changes the name of the command and so you get
that error message; or
2) There is something very badly /b0rk3d/ about your system.
Check for the existence of GNU tar and its permissions on your system
with the following command...
ls -l $(locate bin/tar)
On my Mageia 1 system, which is LSB-compliant, this results in...:
[12:32:12][localhost:/home/aragorn]
[1][aragorn][$] > ls -l $(locate bin/tar)
-rwxr-xr-x 1 root root 311928 Apr 13 2011 /bin/tar*
-rwxr-xr-x 1 root root 7296 Apr 13 2011 /usr/sbin/tar-backup*
-rwxr-xr-x 1 root root 6048 Apr 13 2011 /usr/sbin/tar-restore*
You could of course also check with...
whereis tar
... but considering that it may be installed without having execute
permission for you, I don't know what the result of that command would
be, so the embedded locate command in combination with "ls -l" will show
you the permissions if it's installed, and presuming that your locate
database is up to date, of course.
Hope this helps. ;-)
--
= Aragorn =
(registered GNU/Linux user #223157)