Operating System - HP-UX
1752520 Members
4812 Online
108788 Solutions
New Discussion юеВ

How to install a software using swinstall

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

How to install a software using swinstall

Hi

I am new to HP-UX.

I want to install the file "cfg.depot".

what is the syntax.
21 REPLIES 21
Pete Randall
Outstanding Contributor

Re: How to install a software using swinstall

Assuming the depot is located in /tmp (you need to supply the full path name)

swinstall -s /tmp/cfg.depot

is enough to get the job done.


Pete

Pete
Ganesan R
Honored Contributor

Re: How to install a software using swinstall

Hi,

Use swinstall command to install the softwars.

#swinstall -s

#swinstall -s /dir/cfg.depot

Only preview mode not to install..
#swinstall -p -s /dir/cfg.depot

To list the software available on the depot file.

#swlist -d @/dir/cfg.depot
Best wishes,

Ganesh.
Bijeesh
Respected Contributor

Re: How to install a software using swinstall

Hi
#swinstall -s

You can also use swinstall in interactive mode.
#swinstall
Sivakumar MJ._1
Respected Contributor

Re: How to install a software using swinstall

swinstall - how to install depot files in HP/UX


To install depot files in HP/UX:

# swinstall -s /path/software.depot

Eg. # swinstall -s /tmp/samba.depot


Check the Man pages for swinstall

http://www.docs.hp.com/en/B2355-90692/swinstall.1M.html
R.K. #
Honored Contributor

Re: How to install a software using swinstall

Hi Senthil,

As mentioned in above threads you can use the command:
# swinstall -s

For UI or command illustrations kindly check the below useful link "Installation with swinstall":
http://docstore.mik.ua/manuals/hp-ux/en/5992-4826/ch02s01.html

Hope this helps.

Regds,
R.K.
Don't fix what ain't broke
senthil_kumar_1
Super Advisor

Re: How to install a software using swinstall

Hi

I am getting this error message

How to solve this.

lndsll03:/homeroot->swinstall -s /homeroot/cfg2html_hpux_3.66-20080709.depot
NOTE: The interactive UI was invoked, since no software was
specified.

Starting the terminal version of swinstall...

Jamie A Dennis
Frequent Advisor

Re: How to install a software using swinstall

You'll get that whenever you don't specify the exact software to install. In the examples, you are specifying a depot.

If you know, for example, that your depot is /tmp/OpenSSL_A.00.09.07m.047_HP-UX_B.11.23_IA_PA.depot, and the software inside the depot is OpenSSL, you could specify your swinstall command such as:

swinstall -s /tmp/OpenSSL_A.00.09.07m.047_HP-UX_B.11.23_IA_PA.depot OpenSSL

swinstall then will become non-interactive and install exactly what you specified.
"If hindsight is 20/20, why don't more people use their rearview mirrors?" - James (Jamie) A. Dennis, 1998
Pete Randall
Outstanding Contributor

Re: How to install a software using swinstall

I have always used

swinstall -x auto-reboot=true -s /tmp/cfg.depot

to install non-interactively, though I've never looked into why it works!


Pete

Pete
R.K. #
Honored Contributor

Re: How to install a software using swinstall

Hi Senthil,

This is NOT a error message.

Since you have not selected source and destination paths, so a TUI will be invoked wherein you will be asked to select softwares/fill blanks.

Wait for sometime and you will get the UI.

To start an install session via the command line, you must assemble any options (if needed), host and source names, and software selections into a command string. For example:

# swinstall -p -s softsource -f softlist @ myhost:/mydirectory


Regds,
R.K.
Don't fix what ain't broke