Unix Technical Forum

change default directory of pkgadd

This is a discussion on change default directory of pkgadd within the comp.unix.solaris forums, part of the Solaris Operating System category; --> pkgadd install its packages in the /opt directory . How can I change this automation . From any place ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-06-2008, 08:30 AM
hpy_awad@yahoo.com
 
Posts: n/a
Default change default directory of pkgadd

pkgadd install its packages in the /opt directory . How can I change
this automation . From any place found I install the installation goes
into
/opt/newdirectory of package.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-06-2008, 08:30 AM
Ken Gray
 
Posts: n/a
Default Re: change default directory of pkgadd

In article <7ecaee57.0402241312.3b537a5e@posting.google.com >,
ehab_aziz2001@yahoo.com (hpy_awad@yahoo.com) wrote:

> pkgadd install its packages in the /opt directory . How can I change
> this automation . From any place found I install the installation goes
> into
> /opt/newdirectory of package.


You keep asking the same question, and you've received numerous answers,
all valid. You should really look into adding more space to /opt, as
you'll find that most SVR4 packages want to install there.

Trying to do what you're doing will work for the short term if you
really, really need that particular package, but in the long run, you're
gonna run into problems. Don't symlink the directory, either - pkgadd
and patchadd don't like symlinks; they tend to break them (and does
*that* get interesting!).

And, no, pkgadd does not install things into /opt - pkgadd only installs
where the package's pkginfo file says to install it.

Bottom line, take another look at your partitioning scheme and think
hard about re-doing it.

--
Ken

Real address krgray*at*verizon*dot*net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-06-2008, 08:31 AM
Alan Coopersmith
 
Posts: n/a
Default Re: change default directory of pkgadd

ehab_aziz2001@yahoo.com (hpy_awad@yahoo.com) writes in comp.unix.solaris:
|pkgadd install its packages in the /opt directory .

No, pkgadd installs packages into the basedir specified in the package.
If it installed all packages into /opt, the whole OS would be there,
since it's all installed as packages by pkgadd.

|How can I change this automation .

"pkgadd -a none" and then specify a different basedir - but be warned,
not all packages will work correctly if you do this, depending on how
they were built.

--
__________________________________________________ ______________________
Alan Coopersmith alanc@alum.calberkeley.org
http://www.CSUA.Berkeley.EDU/~alanc/ aka: Alan.Coopersmith@Sun.COM
Working for, but definitely not speaking for, Sun Microsystems, Inc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:36 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com