- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: to unzip the .tgz file.
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
Forums
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
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-11-2009 04:29 AM
тАО09-11-2009 04:29 AM
to unzip the .tgz file.
i have installed a .tgz file , i.e the patches files, and i have to untar it and create a depot file,
So please let me know how i untar the .tgz file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 04:40 AM
тАО09-11-2009 04:40 AM
Re: to unzip the .tgz file.
This is simply a compressed tar archive. You can simply do:
# gzip -d mydepot.tgz
...which will yield: mydepot.tar
# tar -xvf mydepot.tar
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 04:40 AM
тАО09-11-2009 04:40 AM
Re: to unzip the .tgz file.
gunzip -c ptaches.tgz | tar -xvf
Regards,
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 04:43 AM
тАО09-11-2009 04:43 AM
Re: to unzip the .tgz file.
Do the following in a dedicated directory.
Two steps :
1) gunzip filename.tgz (file suffix will change to filename.tar)
2) tar xvf filename.tar (will extract all files)
After that you have to generate de depot with create_depot_xxxx file depending of the OS release.
This utility will create a subdirectory name depot.
You will be ready to install your depot with swinstall -s depot_directory
Note that depot_directory is an absolute path reference.
Regards,
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 04:43 AM
тАО09-11-2009 04:43 AM
Re: to unzip the .tgz file.
The command you are looking for is gunzip.
See : man gunzip
Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 04:51 AM
тАО09-11-2009 04:51 AM
Re: to unzip the .tgz file.
Or: gzcat ptaches.tgz | tar -xvf -
(You missed the "-" at the end.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 04:58 AM
тАО09-11-2009 04:58 AM
Re: to unzip the .tgz file.
Instead you should first just gunzip the .tgz file as advised by others in this thread, and then try running "swlist -s /full/path/to/filename.tar" on the result. If this produces a valid listing of the contents, the file was actually .depot.gz. In this case, you can and should install it with swinstall directly without untarring it.
If swlist reports that the file is not a valid depot, then view its contents listing with "tar tf filename.tar" and untar it with "tar xvf filename.tar".
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 05:25 AM
тАО09-11-2009 05:25 AM
Re: to unzip the .tgz file.
Sorry I missed out - It should be
gunzip -c ptaches.tgz | tar -xvf -
Thanks for correction.
Regards,
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 09:57 AM
тАО09-11-2009 09:57 AM
Re: to unzip the .tgz file.
If your problem get solved then assign some points, people who give there valuable time to your problem you also take some time to assign points to there work.
If you don├Г┬в├В ├В t know how to assign please see this below link.
http://forums13.itrc.hp.com/service/forums/helptips.do?#33
Suraj