Operating System - HP-UX
1832656 Members
3428 Online
110043 Solutions
New Discussion

Installing depot software to another root ?

 
SOLVED
Go to solution
likid0
Honored Contributor

Installing depot software to another root ?

Hy,

I was wondering if there is any trick to install a *.depot software to another /dir than the one its made for.

Lets say the software installs in /usr/local, is there a way to install it in opt/ for example?


thnx!
Windows?, no thanks
4 REPLIES 4
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: Installing depot software to another root ?

Hi,

Use the gui;
# swinstall
enter the full path to your software depot
select "options" ---> Change Target... displays the Select Target Path dialog. This lets you specify an alternate root for products that are relocatable.

Robert-Jan
Ivan Krastev
Honored Contributor

Re: Installing depot software to another root ?

Swinstall option is "-r path".
See section for "Alternate Root Directory and Depot Directory" from this manual - http://docs.hp.com/en/B2355-60127/sd.5.html


regards,
ivan
Dennis Handly
Acclaimed Contributor

Re: Installing depot software to another root ?

There are two ways. Alternate root and alternate paths.

Using alternate root only allows /usr/local/ to be installed in /opt/usr/local/.
You probably want to use alternate paths. This has to be configured in the depot and if not, you can't do it. (It is now the default.)

I believe you need to use: ...,l=path
I'm not sure if you can use: \*,l=path

>Robert-Jan: This lets you specify an alternate root for products that are relocatable.

Alternate root and relocatable are the above two different ways of doing things. From the GUI, it seems it only lets you change alternate roots.

>Ivan: swinstall option is "-r path".

You should NOT use this obsolete option. Unfortunately there are N ways to do things in the SD tools and you should refuse to use the "wrong" ones.
The only ones you should use is "-s" for source and "@ abspath" for target.
likid0
Honored Contributor

Re: Installing depot software to another root ?

Ok, great thnx installed in a new root
Windows?, no thanks