Default path.

Rudy crapsh at MonkeyBrains.NET
Thu Jun 26 05:14:03 UTC 2008


Peter Clark wrote:
> Hello.
> 
> I have a FreeBSD 7.0 p2 box. I have upgraded openssl by installing the 
> latest port. When I use openssl version I am still calling the base 
> /usr/bin/openssl. How do I change my default path to use 
> /usr/local/bin/openssl instead?

do this:
  rm /usr/bin/openssl
then type 'rehash'.
  (if you don't really want to delete it, you can do 'chmod 000 /usr/bin/openssl')
  (and type 'rehash')


or, change the order of your PATH variable (in your .tcshrc file)
or, make an alias of 'openssl' to '/usr/local/bin/openssl'.



Rudy


More information about the freebsd-questions mailing list