Operating System - HP-UX
1833731 Members
2866 Online
110063 Solutions
New Discussion

Re: depot software specify other path

 
kholikt
Super Advisor

depot software specify other path

Hi,

I have download a copy of perl in depot form. By default, this depot will install perl to /opt directory. My /opt doesn't have enough space so I am thinking of installing to /usr.

Is there any way to modify the depot?
abc
3 REPLIES 3
Steven Sim Kok Leong
Honored Contributor

Re: depot software specify other path

Hi,

An easy and not-so-clean method is to create a soft-link in /opt so that that perl directory in /opt links to the perl directory in /usr instead. Subsequently, disable free space checking in swinstall before installing.

Hope this helps. Regards.

Steven Sim Kok Leong
kholikt
Super Advisor

Re: depot software specify other path

Well, this is okay but not a very elegant way.

abc
Tom Geudens
Honored Contributor

Re: depot software specify other path

Hi,
You might try the swmodify-command. The -a option offers possibilities for changing depot parameters. I'm not sure whether "directory" is a general option (in which case you can change it) or not ...
Example :
swmodify -d -a directory="/usr/sudo" @ /var/adm/crash/sudo.depot

However, I would go with the suggestion to make a link ...

Hope this helps,
Tom Geudens
A life ? Cool ! Where can I download one of those from ?