new user help

Norberto Meijome freebsd at meijome.net
Sun Apr 1 22:12:50 UTC 2007


On Sat, 31 Mar 2007 22:05:47 -0700
Brian <bri at 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 at 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 at 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.


More information about the freebsd-questions mailing list