I am running CentOS 5.6 and for some ungodly reason, the version of tar
is from 2004, and not compatible with the node package manager (NPM). How in the world can I update it? Is there an additional yum repository I can add, so I can simply execute yum update tar
.
2 Answers
The CentOS6 package fails dependencies on 5.6, so, you probably will need to build it yourself, either nicely packaged or not. I don't seen an updated "tar" package up at Dag or Karan.
-
-
1glibc, so you're not going to be able to easily work around that one. I just tried a "rpmbuild" on the RHEL6 tar src rpm (GNU tar 1.23), and it's failing because it needs a newer autoconf version. If you want a packaged installation, your best bet might be to grab the 5.6 SRPM, open it up, and modify the .spec file to use a more recent tar distribution. Or, you can just do the usual "configure; make install" thing and put the new one in /usr/local/bin.– cjcSep 3, 2011 at 2:56
Yes, on my RHEL 5.x system, the package is called tar.x86_64
. So yum update tar
will fetch the update if there is one available.
-
Yeah that version is way old, I need a newer version, do I have to build from source?– JustinSep 2, 2011 at 22:53
-
No, the package from yum will have the same name. Use
yum info tar
to see the new version that will be available. Also remember that RHEL and Centos are conservative with their package selection, as a result, they don't ship the most recent packages. Sep 3, 2011 at 0:45
packages.
site), it looks like 5.6 has 1.15.1. My guess is that in 2006 when 1.15.91 changed file globbing to require--wildcard
, RHEL/CentOS kept the old version rather than changing their programs.