[rescue] help - running apps in solaris 8
Kurt Huhn
kurt at k-huhn.com
Thu May 9 10:50:31 CDT 2002
Andrew Howat wrote:
>
> I've got the apps from the sun solaris software companion cd, and I've got a
> lot of apps installed in /opt/sfw/bin/ (for example gmake or emacs.)
> Now I know it's possible to run them from the command, no matter of location,
> just by typing "gmake" or whatever. But I don't know how to set this up. I can
> currently type "admintool" and it'll bring it up, whether I'm in root or in
> /home or wherever. But how do I add the /opt/sfw/bin/ so I can do that with
> the companion software?
You need to add that directory to your path - specifics depend on what
shell your using. Usually you can look att he following: /etc/profile,
[home]/.profile, [home]/.cshrc, [home]/.bashrc, etc. Again, specifics
of how to add depend on what shell, but in bash, adding the line "export
PATH=$PATH;/opt/sfw/bin" to your profile will do the trick.
--
Kurt
kurt at k-huhn.com
Editor: "We need a new food critic, someone who doesn't immediately
poo-poo everything he eats."
Homer: "Naw, that usually takes a few hours."
More information about the rescue
mailing list