- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to use GNU tar?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 12:10 AM
тАО09-16-2002 12:10 AM
/etc/tar
/usr/bin/tar
/usr/local/bin/tar
/usr/local/doc/tar
/var/adm/sw/products/tar
/var/adm/sw/save/PHCO_20028/UX-CORE/sbin/tar
/var/adm/sw/save/PHCO_20028/UX-CORE/usr/bin/tar
/sbin/tar
and i find the man tar is still show the old tar
which one i should use to backup a file larger then 2G ,and how to use the new tar command?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 12:24 AM
тАО09-16-2002 12:24 AM
SolutionTo find out which one matches the gnu tar you installed check via software distributor (as long as you used SD to install it), eg;
swlist -l file tar | grep bin
(substitute tar for installed product name, eg. gnutar)
And it will show the bin dir which gnu tar installed to. You just use gnu tar normally - tar cf
MANPATH=$MANPATH:/
(you can set permanently in /etc/MANPATH)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 12:25 AM
тАО09-16-2002 12:25 AM
Re: how to use GNU tar?
the GNU tar is:
/usr/local/bin/tar
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 12:30 AM
тАО09-16-2002 12:30 AM
Re: how to use GNU tar?
it depends completely on where you got gnu tar from - we got ours from the HP Porting centre and it installs to /opt/tar/bin/tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 12:35 AM
тАО09-16-2002 12:35 AM
Re: how to use GNU tar?
/usr/local/bin/tar cf core.rm /usr/local/bin/core
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libiconv.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
whats up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 12:48 AM
тАО09-16-2002 12:48 AM
Re: how to use GNU tar?
you have assumedly search for tar whith the find command. That means, you not only found tar binaries but also doc files etc.
If you want only found the binaries, type "whereis tar".
If you want to find out, which tar binary is used when typing tar without path: type "which tar".
to your list:
/etc/tar is a link to /usr/bin/tar
/usr/bin/tar is standard tar from HP-UX, dynamically linked
/usr/local/bin is assumedly the gnu tar binary
/usr/local/doc/tar is a directory with documents to gnu tar
/var/adm/sw/products/tar is a directory with installion files for gnu tar
the PHCO directory containes the files from patch PHCO_20028, which delivers new versions of HP-UX standard tar
/sbin/tar is standard tar from HP-UX, statically linked
The gnu man pages are assumedly locatet under /usr/local/man/man*, you can search for them with "find /usr/local/man -name tar.*". To display them add the path containing the gnu tar manpage in front of your environment variable $MANPATH.
To activate the gnu tar instead of the standard tar you can do for example the following:
- locate first tar binary with "which tar"
- move this tar to a save copy (e.g. mv /usr/bin/tar /usr/bin/tar.sik)
- create a link to the gnu tar (e.g. ln -s /usr/local/bin/tar /usr/bin/tar).
regards
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 12:53 AM
тАО09-16-2002 12:53 AM
Re: how to use GNU tar?
You haven't install the necessary dependency libiconv.
You can get it from here:
http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libiconv-1.8/
Check also the other dependency gettext.
regards
Dirk