Sponsored Content
Operating Systems HP-UX Installing software other than default directory Post 302587579 by Thunderbird288 on Thursday 5th of January 2012 09:17:42 AM
Old 01-05-2012
Installing software other than default directory

Hi,
I'm using the command(swinstall -s product.pkg product1.cbin) to install software(product1). Here by default the installation is happening on the location(/opt/). Whereas I want the installation directory to be a different one (eg. /sw/).

Is there any specific command which will help me to do so?

Thanks in advance
Regards,
Thunderbird
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

installing software

when i d/l files from net "/usr/port/editor/koffice then make" i don't know what excactly have to do after when it finnished d/l it and configure i guess what its done downloading file it configures :confused: the file what do i have to do next I use FREEBSD 4.5 (3 Replies)
Discussion started by: challenger
3 Replies

2. UNIX Desktop Questions & Answers

installing new software

Hello, I recently downloaded and installed fedora core 3, and I am triyng to install other software like movie players and so on, when ever I download software for this operating system, I recieve with the software a text file explaining how to install it. The installation instrucions are allways... (1 Reply)
Discussion started by: st_matan
1 Replies

3. UNIX for Dummies Questions & Answers

Installing Software on Multiple Systems

I have been given the task of installing subversion on rhe4 32 and 64 bit, suse9 ia64, hpux 11.22 ia64, hpux 11.11 pa_risc, solaris 2.8 sparc, and irix 6.5. How can I do this? I know that rhe5 and debian have things like yum and apt for packages. What are the equivalents for these systems? ... (4 Replies)
Discussion started by: ldb88
4 Replies

4. SuSE

installing software

hi, i have installed suse linux (10) at my home. can anyone tell me how do i install the softwares like players , messengers etc. i am new to linux ,i am learning now. can anyone suggest or post any material so that i can easily go through and learn. thanks in advance. vishwa. (6 Replies)
Discussion started by: viswareddy.32
6 Replies

5. UNIX for Dummies Questions & Answers

Installing Software

Hi all, So I remotly log on to one of the unix boxes we have at work. I want to use a software that is not installed on the server. What's better? to install it locally in my home folder and use it, or to ask the system admin to install it on the server? and what's the main difference? I asuume... (1 Reply)
Discussion started by: Rachel Ross
1 Replies

6. UNIX Desktop Questions & Answers

Installing software

Greetings, all. I'm a newcomer here, and I appreciate the forum to ask questions. Here is the situation: I am installing software on a network hard-drive (NAS), to add functionality to it. The OS is in a read-only flash partition. Someone else hacked the firmware to install Busybox on this... (1 Reply)
Discussion started by: jhansen
1 Replies

7. Solaris

How to decide installing a Software group

Hello, I need to install a Jboss AS 4.2 asap. But I dont want to use the GUI. I need to install a solaris 10 server with the minimal packages but I dont know how deep I should customize and select the packages. You guys , how you decide to select a package installation level ? Each server's... (7 Replies)
Discussion started by: shadowfaxxxx
7 Replies

8. Solaris

Problem installing the software HDLM

Estou tentando instalar o software de HDLM ( Hitachi Dynamic Link Manager ) e está apresentando a seguinte mensagem: -bash-3.00# ./installhdlm KAPL09187-W No parameter is specified. Não sei que parameter é esse ? (1 Reply)
Discussion started by: to.brunoaugusto
1 Replies

9. Solaris

Help installing WINE and other software

ive installed the open solaris 9 and i have downloaded wine but i dont have a clue how to install it ive unzipd the file but when i click it it just does nothing it opens but its just files im new to solaris i would realy like to know how to install and run programs like vlc player and things any... (19 Replies)
Discussion started by: drdex
19 Replies

10. Solaris

Installing software -going insane

I have Solaris 10 update 11 installed on a virtual machine which I use for my lunix class (I'm studying I.T. but have little unix experience). So I have root access* I'm also do C programming in my course and would love to do it on my Solaris machine. So I looked into installing GCC and... (5 Replies)
Discussion started by: goformickey
5 Replies
Package::Pkg(3pm)					User Contributed Perl Documentation					 Package::Pkg(3pm)

NAME
Package::Pkg - Handy package munging utilities VERSION
version 0.0020 SYNOPSIS
First, import a new keyword: "pkg" use Package::Pkg; Package name formation: pkg->name( 'Xy', 'A' ) # Xy::A pkg->name( $object, qw/ Cfg / ); # (ref $object)::Cfg Subroutine installation: pkg->install( sub { ... } => 'MyPackage::myfunction' ); # myfunction in MyPackage is now useable MyPackage->myfunction( ... ); Subroutine exporting: package MyPackage; use Package::Pkg; sub this { ... } # Setup an exporter (literally sub import { ... }) for # MyPackage, exporting 'this' and 'that' pkg->export( that => sub { ... }, 'this' ); package main; use MyPackage; this( ... ); that( ... ); DESCRIPTION
Package::Pkg is a collection of useful, miscellaneous package-munging utilities. Functionality is accessed via the imported "pkg" keyword, although you can also invoke functions directly from the package ("Package::Pkg") USAGE
pkg->install( ... ) Install a subroutine, similar to Sub::Install This method takes a number of parameters and also has a two- and three-argument form (see below) # Install an anonymous subroutine as Banana::magic pkg->install( code => sub { ... } , as => 'Banana::magic' ) pkg->install( code => sub { ... } , into => 'Banana::magic' ) # Bzzzt! Throws an error! # Install the subroutine Apple::xyzzy as Banana::magic pkg->install( code => 'Apple::xyzzy', as => 'Banana::magic' ) pkg->install( code => 'Apple::xyzzy', into => 'Banana', as => 'magic' ) pkg->install( from => 'Apple', code => 'xyzzy', as => 'Banana::magic' ) pkg->install( from => 'Apple', code => 'xyzzy', into => 'Banana', as => 'magic' ) # Install the subroutine Apple::xyzzy as Banana::xyzzy pkg->install( code => 'Apple::xyzzy', as => 'Banana::xyzzy' ) pkg->install( code => 'Apple::xyzzy', into => 'Banana' ) pkg->install( from => 'Apple', code => 'xyzzy', as => 'Banana::xyzzy' ) pkg->install( from => 'Apple', code => 'xyzzy', into => 'Banana' ) With implicit "from" (via "caller()") package Apple; sub xyzzy { ... } # Install the subroutine Apple::xyzzy as Banana::xyzzy pkg->install( code => 'xyzzy', as => 'Banana::xyzzy' ) # 'from' is implicitly 'Apple' pkg->install( code => &xyzzy, as => 'Banana::xyzzy' ) Acceptable parameters are: code A subroutine reference, A package-with-name identifier, or The name of a subroutine in the calling package from (optional) A package identifier If :code is an identifier, then :from is the package where the subroutine can be found If :code is an identifier and :from is not given, then :from is assumed to be the calling package (via caller()) as The name of the subroutine to install as. Can be a simple name (when paired with :into) or a full package-with-name into (optional) A package identifier If :as is given, then the full name of the installed subroutine is (:into)::(:as) If :as is not given and we can derive a simple name from :code (It is a package-with-name identifier), then :as will be the name identifier part of :code pkg->install( $code => $as ) This is the two-argument form of subroutine installation Install $code subroutine as $as pkg->install( sub { ... } => 'Banana::xyzzy' ) pkg->install( 'Scalar::Util::blessed' => 'Banana::xyzzy' ) pkg->install( 'Scalar::Util::blessed' => 'Banana::' ) pkg->install( sub { ... } => 'Banana::' ) # Bzzzt! Throws an error! $code should be: o A CODE reference sub { ... } o A package-with-name identifier Scalar::Util::blessed o The name of a subroutine in the calling package sub xyzzy { ... } pkg->install( 'xyzzy' => ... ) $as should be: o A package-with-name identifier Acme::Xyzzy::magic o A package identifier (with a trailing ::) Acme::Xyzzy:: pkg->install( $code => $into, $as ) This is the three-argument form of subroutine installation pkg->install( sub { ... } => 'Banana', 'xyzzy' ) pkg->install( sub { ... } => 'Banana::', 'xyzzy' ) pkg->install( 'Scalar::Util::blessed' => 'Banana', 'xyzzy' ) pkg->install( 'Scalar::Util::blessed' => 'Banana::', 'xyzzy' ) $code can be the same as the two argument form $into should be: o A package identifier (trailing :: is optional) Acme::Xyzzy:: Acme::Xyzzy $as should be: o A name (the name of the subroutine) xyzzy magic $package = pkg->name( $part, [ $part, ..., $part ] ) Return a namespace composed by joining each $part with "::" Superfluous/redundant "::" are automatically cleaned up and stripped from the resulting $package If the first part leads with a "::", the the calling package will be prepended to $package pkg->name( 'Xy', 'A::', '::B' ) # Xy::A::B pkg->name( 'Xy', 'A::' ) # Xy::A:: { package Zy; pkg->name( '::', 'A::', '::B' ) # Zy::A::B pkg->name( '::Xy::A::B' ) # Zy::Xy::A::B } In addition, if any part is blessed, "name" will resolve that part to the package that the part makes reference to: my $object = bless {}, 'Xyzzy'; pkg->name( $object, qw/ Cfg / ); # Xyzzy::Cfg SEE ALSO
Sub::Install Sub::Exporter AUTHOR
Robert Krimen <robertkrimen@gmail.com> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Robert Krimen. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-15 Package::Pkg(3pm)
All times are GMT -4. The time now is 10:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy