The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to source a file in KSH -- Please help !!! tipsy Shell Programming and Scripting 7 04-14-2008 11:51 AM
Kernel source not found. (can't install network card drivers) Virtuality Linux 9 03-25-2008 05:58 AM
Post Shell programming: Question about source a file and read data from the file ccwq Shell Programming and Scripting 3 08-04-2007 07:28 PM
how to grep the source file icecool79us UNIX for Dummies Questions & Answers 2 11-16-2005 11:11 PM
Get file from source server and delete the ftp file lweegp Shell Programming and Scripting 3 10-16-2005 11:53 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-05-2007
Registered User
 

Join Date: Feb 2007
Posts: 2
how install source file HP-UX

I want to install a source tar file using SAM . How do I do that?
Also I want to update all installed software using SAM?
Reply With Quote
Forum Sponsor
  #2  
Old 02-05-2007
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
sam or swinstall its the same regarding software installation on hp, just type swinstall and follow instruction (you will have to use your eyes) ... assuming you have file(s) in depot format available
Reply With Quote
  #3  
Old 02-06-2007
Registered User
 

Join Date: Dec 2006
Posts: 32
If your source file is in the tar format maybe you will have to "untar" it.
You can do that using the command tar -xvf <source file>
Reply With Quote
  #4  
Old 02-08-2007
Registered User
 

Join Date: Oct 2005
Posts: 135
Can you utilize sam/swinstall to install source packages?

I always use the following when installing from source:

Whether your installing from source or a depot, dependencies may need to be resolved before proceeding w/the install.

It may also be necessary to add options for ./configure, read the README.
Setting compiler flags, pointing the tree to other required packages, and coordinating options with them. Once this has been done, the rest of the process is usually not much more than:

$ sh ../configure

$ make

$ make test or sometimes make check - see the makefile (I often skip this step, I guess I'm a bit impatient)

$ sudo make install

The final step, sudo, temporarily grants root privileges (assuming this has been explicitly configured by the system administrator) so that files may be copied to the proper places on the system. If sudo is not available, your only other option is to perform this step as as root.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0