Thanks very much for your help:
Jon M. Hayden
Leif H. Ericksen
> Hi to everyone,
> I'm a litle confused with installation of packages. I have just
> installed Solaris 2.51 in a SS10, and would like to install some pakages
> from www.sunfreeware.com, basically GNU software (gcc, gzip, bash ...)
> Last week I was reading the documentation in docs.sun.com and tried to
> install gzip.
> The package was succesfully installed, but in the directory
> Now, I have to add that directory to my PATH to use it. That's confused
> Have I to add /opt/xxx for each package installed ?
> What I have to do to install the man pages of the packages ?
> I would like to install the software with the other binaries, in
> /usr/local/bin or similar. is it possible ?
> Sorry if the question is very simple.
Well, now I think this a feature, not a bug.
The best way to solve the problem is like this:
ln -s /opt/packageX/bin/xxx /usr/local/bin/xxx
The same with the man pages
ln -s /opt/packageX/man/manX/xxx.X /usr/man/manX/xxx.X
Other way to solve it, can be adding:
/opt/packageX/bin to $PATH
/opt/packageX/man to $MANPATH
This solution have the problem that the environment variables PATH and
MANPATH are always growing and growing.
Another solution could be download a package that installs in /usr/local
Ximo Domenech firstname.lastname@example.org
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:34 CDT