1832018 Members
2975 Online
110034 Solutions
New Discussion

Re: .depot file

 
Adi_7
Frequent Advisor

.depot file

Hi all,
I want to install a .depot file on hp.Its the file containing the Java software.
How do I install that?
Thanks
12 REPLIES 12
A. Clay Stephenson
Acclaimed Contributor

Re: .depot file

After you get the .depot file downloaded (make sure the transfer is binary), you use the swinstall command. Swinstall invoked without arguments will prompt you for the source (your .depot file). You then 'Mark' the desired software, and 'Actions->Install'. It will analyze the package making sure dependencies are met and then ask if you want to install.
If it ain't broke, I can fix that.
GK_5
Regular Advisor

Re: .depot file

export your display variable and run swinstall.
Select local directory and type full path.
Select the software, mark for install and install.
IT is great!
Michael Tully
Honored Contributor

Re: .depot file

The interactive version is the best, as you have total control over what is going on. Make sure that you use the full path to the depot file or it won't find it. You only need to export your DISPLAY if you wish to use an motif GUI session.
Anyone for a Mutiny ?
Adi_7
Frequent Advisor

Re: .depot file

swinstall command without arguments is not working for me.

Do you have any alternate solutions?
Thanks
Adi_7
Frequent Advisor

Re: .depot file

This may sound silly.But how to export the display variables?
A. Clay Stephenson
Acclaimed Contributor

Re: .depot file

I assume that you do not have an X terminal (or PC based emulator). If that is the case, do not set and export DISPLAY (if you have set it then do an unset DISPLAY) and simply type swinstall. You must be super-user to run swinstall. Can you be a bit more specific than "swinstall without arguments in not working for me"? What errors are you getting?

If this is a .depot file then swinstall is your only option.
If it ain't broke, I can fix that.
GK_5
Regular Advisor

Re: .depot file

# export DISPLAY=hostname:0.0
IT is great!
Adi_7
Frequent Advisor

Re: .depot file

After setting ths display,I'm getting following error.
# swinstall

The DISPLAY environment variable is set to "HPUX_11-11", but
the current configuration won't allow swinstall to run on that display.

The DISPLAY environment variable may be incorrect, or, if you are
running swinstall remotely, you may need to allow the remote system
to access your local X server by typing

/usr/bin/X11/xhost +HPUX_11-11

on your local machine.

Do you want to proceed using the terminal version of swinstall?
(yes or no) [yes]

If I stiil enter yes, I can go to GUI.But when I try to specify local directory,it gives following error.
The default source "/var/spool/sw" does not exist or is not a valid source and there are no other registered depots on HPUX_11-11. You can type in the depot path on this host or choose a different host.
Michael Tully
Honored Contributor

Re: .depot file

Just type in the full path name of the depot file.

e.g. /tmp/java.depot
Anyone for a Mutiny ?
A. Clay Stephenson
Acclaimed Contributor

Re: .depot file

First,

unset DISPLAY
swinstall
When you get the error messages (they're normal) about /var/spool/sw enter .

You should now see 'Source Depot Type: ', Press and user the to select 'Local Directory'. Then to 'Source Depot Path' and enter your .depot file and to [OK] and .

This should put you in the "Software Selection" menu. Use the to hilite then desired software. Next and to 'Actions' and Press 'M' for Mark. Next, and to 'Actions' and 'I' (Install). You should be able to get the rest done from this point.

If it ain't broke, I can fix that.
Tim Adamson_1
Honored Contributor

Re: .depot file

Once you have the depot downloaded, preview the install as follows:

# swinstall -p -s *

Check the log file and if all is ok, then do the actual install:

# swinstall -s *


Example:

# swinstall -s /tmp/java.depot *


Hope it helps

Tim

Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
A. Clay Stephenson
Acclaimed Contributor

Re: .depot file

One final point, it is essential that you have the TERM variable set and exported that matches your terminal or PC emulation.

e.g.
export TERM=vt100
swinstall


If it ain't broke, I can fix that.