- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- change default directory installation inside a .de...
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
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
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
05-07-2003 12:53 AM
05-07-2003 12:53 AM
change default directory installation inside a .depot
I'm on HP-UX 10.20.
I want to install perl-5.6.1 on my system.
In order to install it, I download a depot software from ftp.thewrittenword.com.
I found a depot software of perl 5.6.1 for HP-UX 10.20.
But , when I make the swinstall command, it installs the software by default in /opt/TWWfsw (?) and I absolutely want that it installs in /opt/perl5...
Is there any way to do that ?
Thank's in advance for your response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 01:21 AM
05-07-2003 01:21 AM
Re: change default directory installation inside a .depot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 01:32 AM
05-07-2003 01:32 AM
Re: change default directory installation inside a .depot
I dont think it is possible unless otherwise you edit the PSF file and make the changes and rebuild the package depot.
The option target_directory specified with sw commands only applies for swcopy command.
Ref:
http://docs.hp.com/hpux/onlinedocs/B2355-90129/B2355-90129.html
target_directory=/var/spool/sw
Applies only to swcopy. Defines the default location of the target depot.
Simplest would be to leave the default installation path as it is and create a softlink with name /opt/perl5 pointing to the actual installed directory.
Regards,
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 01:39 AM
05-07-2003 01:39 AM
Re: change default directory installation inside a .depot
I'm afraid that is no the solution...I try to change target path but when I do that it installs a opt/TWWfsw path inside the /opt/perl5 directory.
So my perl is installed on :
/opt/perl5/opt/TWWfsw.
For example the perl binary is located in :
/opt/perl5/opt/TWWfsw/bin/perl
and I want that it is located in :
/opt/perl5/bin/perl
In fact, the path /opt/TWWfsw is written "in hard" on the source code of the depot file.
Is there any way to modify it ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 02:00 AM
05-07-2003 02:00 AM
Re: change default directory installation inside a .depot
Yeah you are right. target_directory means the root location for the installation of the SW by default it is "/". Yeah it is hard coded to the .depot file. I will give you a clue though I am not sure if it will really work. Just try to un-tar the depot file and look for *.psf file in it. I am not able to remember the exact file name also rightnow I do not have access to HP-UX box. One of the PSF file must be having the install directory location.
Regards,
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 02:06 AM
05-07-2003 02:06 AM
Re: change default directory installation inside a .depot
Regards,
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 02:08 AM
05-07-2003 02:08 AM
Re: change default directory installation inside a .depot
here is a crude way of doing it. have done it a few times and found it working.
1. swcopy the depot to a target directory
2. go to the target directory and rename the opt/TWWfsw to opt/perl.
3. there are a couple of files (INDEX and Catalog i guess) which contains the TWWfsw directory. do a find and replace them to perl.
4. do an swinstall from this directory. perl will get installed in /opt/perl.
-balaji
ps: this is a hack and i am not aware of any consequences. use at your own risk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 02:12 AM
05-07-2003 02:12 AM
Re: change default directory installation inside a .depot
Take a look at the perl downloads on Merijn's / Procura's webpage,
http://www.cmve.net/~merijn/#Downloads
Beleave they are in tar format and you can install them where you like.
Hope it helps,
Robert-Jan.