1834288 Members
2120 Online
110066 Solutions
New Discussion

Re: Swinstall Question

 
Amod
Occasional Advisor

Swinstall Question

When I do 'swlist' on a certain 'depot' I can see that the files will be installed in /opt/package/ directory.

# swlist -l file -d @ /tmp/my.depot

Is there any way I can change this destination when doing 'swinstall'. I don't have much space left in /opt and I can't make a soft link for 'package' to other disk as this directory already contains some other packages.

Any help will be really appreciated.

Amod
If you can't change it, enjoy it !!
5 REPLIES 5
G. Vrijhoeven
Honored Contributor

Re: Swinstall Question

Hi Amod,

You can create SD kits that are relocatible. But the SD kit must support it. ( view description ) when you create a SDkit add relocatible=yes in the psf file.
If the software is not relocatible it is not possible, as far as i know.

Regards,

Gideon
Ravi_8
Honored Contributor

Re: Swinstall Question

Hi amod

by defualt in hp-ux all s/w will get installed under /opt. In solaris also under /opt and in AIX it's under /usr/lpp.

OS is designed like that.
never give up
Fabio Ettore
Honored Contributor

Re: Swinstall Question

Hi,
Vrijhoeven is right.
Anyway keep in mind about risks:

1. swremove of application could not work;
2. problems updating your application.

Definitely it is not advisable.

Best regards,
Ettore
WISH? IMPROVEMENT!
G. Vrijhoeven
Honored Contributor

Re: Swinstall Question

Hi Amote

If a kit is relocatible you can use swremove the remove the software. SD also saves the location off all software installed. ( check swlist -a location )
So the software is removed. Updates are also possible with relocatible kits.

We use relocatible kits in MC/SG env.

If the KIT relocatible or not.
mark the software and go to options discription.


HTH,

Gideon

Sridhar Bhaskarla
Honored Contributor

Re: Swinstall Question

Hi Amod,

Vrijhoeven said it right.

You can still try it by changing the "Target Path" in "Actions" options of 'swinstall' session. For ex., instead of / you can make it /mylocation. Then the software will get installed under /mylocation/opt/package.

If the binaries of the packages support relative path, then it may work. If not like most of the softwares, then it won't. When you get a chance, you can create links from /mylocation to wherever you want.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try