Operating System - HP-UX
1832535 Members
7414 Online
110043 Solutions
New Discussion

Re: Software installation on HPUX 11.11

 
SOLVED
Go to solution
jaivinder
Frequent Advisor

Software installation on HPUX 11.11

Hi Gurus,

I had to install 25 software's which are in .depot format. I want to install them in single shot. Can i also install them through CLI. I had tried to install it through swinstall but every time i try to install the software i am not able to find them in the GUI. I want to install them through CLI.

Thanks in Advance.
4 REPLIES 4
Hasan  Atasoy
Honored Contributor
Solution

Re: Software installation on HPUX 11.11

hi jaivinder ,
you nee to create a depot file in order to install depots in one shoot.

for i in *.depot
do
swcopy -x enforce_dependencies=false -s ${PWD}/$i \* @ /home/DEPOT/
done

swpackage -s /home/DEPOT/ -x write_remote_files=TRUE -x layout_version=1.0 -x media_type=tape @ /home/allpatch.depot


swinstall -s /home/allpatch.depot



Hasan
Dennis Handly
Acclaimed Contributor

Re: Software installation on HPUX 11.11

>Hasan: swpackage ... -x media_type=tape

You don't really need to make a tape depot unless you want to put it on some ftp site.
You can install directly from your directory depot /home/DEPOT/, even from other machines:
# swinstall -s /home/DEPOT \*
Dennis Handly
Acclaimed Contributor

Re: Software installation on HPUX 11.11

>even from other machines:

The syntax for other machines would be:
# swinstall -s source-machine:/home/DEPOT \*

(This works because swcopy calls swreg(1M).)
jaivinder
Frequent Advisor

Re: Software installation on HPUX 11.11

Thanks for your replies.