Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

Registering plain executables in SAM

SOLVED
Go to solution
GBR
Regular Advisor

Registering plain executables in SAM

I grabbed a bzip2 executable from Merijn's HP-UX software site, and it seems to be working fine. Is there a way to register the software in SAM, so others will know bzip2 is sitting on the box?
4 REPLIES

Re: Registering plain executables in SAM

there used to be a way of adding in your own functions to SAM, but as SAm is being obsoleted, tthis may not be available anymore

man sam
then look for the section entitled:
Adding New Functionality to SAM
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Registering plain executables in SAM

Whatever "registering" is, SAM doesn't do it. HP's approach is Software Distributor which includes swinstall, swremove, swcopy et al. These can be invoked by SAM although they are more commonly invoked directly from the shell. In any event, unless the software was swpackage'ed into a depot then it will not be installed in the Installed Software Database. Software from HP as well as from any of the HP-UX Porting Centre's is distributed as an SD bundle but other software (e.g. Oracle) is not and your box won't have a clue that Oracle is installed.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: Registering plain executables in SAM

Hi Greg:

The standard "expectatation" of where to loook for things like this would/should be in '/usr/contrib' or '/usr/local'. Have a look at the manpages for 'hier(5)'.

Regards!

...JRF...
GBR
Regular Advisor

Re: Registering plain executables in SAM

Thank you very much. That answers my question.