Operating System - HP-UX
1829887 Members
3208 Online
109993 Solutions
New Discussion

Non-interactive swinstall

 
SOLVED
Go to solution
dev44
Regular Advisor

Non-interactive swinstall

Hi

I have a depot file lsof.depot and I want to install it without going into the menu. Is that possible? THe command I use is : swinstall -s /lsof.depot but this still brings me to the menu where you have to mark it for install, etc. I want to be able to just install that software from a script on a bunch of sysems.

thanks
whatever
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: Non-interactive swinstall

Add a '\*' to the end of your swinstall command line.

# swinstall -s /path/to/lsof.depot \*

The '\*' tells swinstall to install everything in the depot. Without that, swinstall does not know what you want to install. That is why it takes you into the menu.
Mel Burslan
Honored Contributor
Solution

Re: Non-interactive swinstall

swinstall -s /absolute/path/to/your/lsof.depot lsof

this should do it.
make sure the depot location is given in absolute path and the command above assumes the product name in the depot you want to install is "lsof" if it is something different, like it has a version number or what-not, make sure you specify the exact name.

HTH
________________________________
UNIX because I majored in cryptology...
dev44
Regular Advisor

Re: Non-interactive swinstall

THanks Mel, that was exactly what I needed!
whatever