- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gtar - how to install
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
тАО06-24-2009 02:20 AM
тАО06-24-2009 02:20 AM
Downloaded gtar as well as all the dependencies.
Installed the dependencies first without problem.
Then for the tar-122.tar i did tar -xvf on it and in the tar-122 directory I did the commands:
./configure
make
make install
All seem to have went smoothly. I don't have gtar listed as a command anywhere.
# which gtar
no gtar in /usr/sbin /usr/bin /usr/ccs/bin /usr/contrib/bin /usr/contrib/Q4/bin /opt/perl/bin /opt/ipf/bin /opt/nettladm/bin /opt/fcms/bin /opt/wbem/bin /opt/wbem/sbin /opt/sas/bin /opt/graphics/common/bin /opt/atok/bin /usr/bin/X11 /usr/contrib/bin/X11 /opt/sec_mgmt/bastille/bin /opt/drd/bin /opt/dsau/bin /opt/dsau/sbin /opt/resmon/bin /opt/firefox /opt/gnome/bin /usr/contrib/kwdb/bin /opt/mozilla /opt/perl_32/bin /opt/perl_64/bin /opt/sfm/bin /opt/swm/bin /opt/sec_mgmt/spc/bin /opt/ssh/bin /opt/swa/bin /opt/hpsmh/bin /opt/thunderbird /opt/gwlm/bin /usr/local/bin /opt/ignite/bin /sbin /home/root
How do I know if it installed correctly?
HP-UX 11.31
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 02:31 AM
тАО06-24-2009 02:31 AM
Re: gtar - how to install
use find command to find the binary app, it is not in the $PATH variable.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 03:26 AM
тАО06-24-2009 03:26 AM
Re: gtar - how to install
your in stallatio process is correct.this is from my system :
# whereis tar
tar: /sbin/tar /usr/bin/tar /usr/local/bin/tar /usr/share/man/man1.Z/tar.1 /usr/share/man/man4.Z/tar.4
so can you please check in /usr/local/bin to find the gnu tar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 03:33 AM
тАО06-24-2009 03:33 AM
Re: gtar - how to install
Use the commands to check where is the gtar command.
#find / -name gtar
#whereis gtar
After that you can set the path by running
export PATH=$PATH:/NEW_PATH
Regards
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 03:40 AM
тАО06-24-2009 03:40 AM
Re: gtar - how to install
For future installs, not now :-)
>>>>./configure
You can run ./configure with prefix like below:
./configure --prefix=PREFIX_PATH
This install architecture-independent files in PREFIX_PATH. When you run make install, libraries will be placed in PREFIX_PATH/lib, executables in PREFIX_PATH/bin, and so on.
By default all lib/bin files go to /usr/local if you don't define any argument in ./configure.
Check the Binaries under /usr/local or in the current path from where you run 'make install' else run `find`
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 06:24 AM
тАО06-24-2009 06:24 AM
Re: gtar - how to install
> anywhere.
Perhaps because the GNU people think of
"gtar" as "tar". Did you look at what "make
install" actually did? Did you look for
"tar" in "/usr/local/bin"?
I normally do something like this:
ln -s tar /usr/local/bin/gtar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 07:26 PM
тАО06-24-2009 07:26 PM
Re: gtar - how to install
> ln -s tar /usr/local/bin/gtar
Did you want that reversed?
ln -s gtar /usr/local/bin/tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 07:27 PM
тАО06-24-2009 07:27 PM
Re: gtar - how to install
(Never mind, you had it right.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 07:34 PM
тАО06-24-2009 07:34 PM
SolutionAs Steven said, your GNU tar is installed in /usr/local/bin as
tar, not gtar.
% /usr/local/bin/tar --version
tar (GNU tar) 1.22
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 08:34 PM
тАО06-24-2009 08:34 PM
Re: gtar - how to install
As a VMS user (and an easily entertained one,
at that), I take some small satisfaction in
remembering that "ln" arguments are the
reverse of "ls" output. I just say to
myself, "UNIX is backward", every time I use
"ln -s", and smile (smirk?) inwardly.
It's not altogether illogical, it's just not
altogether consistent. Of course,
SET FILE /ENTER may not win any prizes,
either.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2009 01:02 AM
тАО06-25-2009 01:02 AM
Re: gtar - how to install
I was looking for gtar but seems it installed as tar. Thanks to all.
# /usr/local/bin/tar --version
tar (GNU tar) 1.22
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.