Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2007 08:12:44 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        Brian <bri@sonicboom.org>
Cc:        Michael Brady <Bmbrady77@charter.net>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: new user help
Message-ID:  <20070402081244.68e5ad77@localhost>
In-Reply-To: <460F3DAB.8000409@sonicboom.org>
References:  <A81956E8034A443588965D964AA86B0B@GATEWAYLAPTOP> <460F3DAB.8000409@sonicboom.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 Mar 2007 22:05:47 -0700
Brian <bri@sonicboom.org> wrote:

> Michael Brady wrote:
> > I am very new to Freebsd so this might be a dumb question, but I can't find
> > an answer through FAQ..
> >
> >  
> >
> > I used the command "make install clean" to install some ported applications,
> > and the installs went off without a hitch and reported successful.My problem
> > is that I can't find the locations of the installed applications or the
> > executables for the apps to run them.What am I missing here?
[....]
   
> If you just installed them and havent relogged in yet, type rehash.  If 
> that fails, run /etc/periodic/weekly/310.locate as root and then locate 
> filename.

or, simply, 

which [your_program_exec_name]

and it will list where it's found. For example, if you installed firefox,


[betom@ayiin] [Mon Apr  2 08:10:29 2007]
/usr/home/betom
$ which firefox
/usr/local/bin/firefox

In some cases, the executable of the package you installed is not clear at first sight. You should then query the package itself to tell you everything that it installed in a bin directory (where executable binaries go:)

pkg_info -L [pkg_name]* | grep bin

eg:

[betom@ayiin] [Mon Apr  2 08:12:06 2007]
/usr/home/betom
$ pkg_info -L firefox* | grep bin
/usr/local/bin/firefox
/usr/local/bin/firefox-config
/usr/local/include/firefox/gtkxtbin/gtk2xtbin.h
/usr/local/include/firefox/gtkxtbin/gtkxtbin.h
/usr/local/lib/firefox/firefox-bin
/usr/local/lib/firefox/libgtkxtbin.so
/usr/local/lib/firefox/res/html/gopher-binary.gif
/usr/local/bin/firefox-remote
/usr/local/bin/thunderbird-remote

Good luck :)
_______________________
{Beto|Norberto|Numard} Meijome

"A tree as big around as you can reach starts with a small seed; a thousand-mile journey starts with one step."
  Lao-tse

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070402081244.68e5ad77>