former linux user

Jamie jamie at gnulife.org
Tue Apr 29 13:22:35 PDT 2003




  > 2) I've used the locate feature previously and am familiar with it,
> on Linux! How do I update the locate database? I've used slocate -u /
> previously which updates the database starting at /


   /usr/libexec/locate.updatedb







On Tue, 29 Apr 2003, Johnson David wrote:

> On Wednesday 09 April 2003 12:41 pm, Ricardo wrote:
>
> > I installed FreeBSD 4.8 using the ISO's which I downloaded and I need
> > some help.
>
> First of all, the man pages are great, but they're intended as
> references, not tutorials. What you need is to read is the FreeBSD
> Handbook, supplemented by the FreeBSD FAQ. Both should have been
> installed by default to /usr/share/doc/handbook and /usr/share/doc/faq.
> They are HTML, so read them in any browser. Plain text versions are
> installed as well.
>
> > 1) I've heard various and often confusing instructions about post
> > installation tasks specifically CVSUP, how do I use CVSup? I've
> > installed and read the man page (which isn't too helpful) and I've
> > heard various confusing instructions on how to update packages on my
> > system. What do I do? Thus far I've installed it and configured
> > ports-supfile and I've thus far executed "make world". What now - am
> > I going the right way?
>
> There is great information on this in the Handbook. First see Appendix
> A.6, for using CVSup. Then chapter 4 on packages and ports. Then
> chapter 21 on synchronizing your source and making world. Finally, see
> the FAQ section 7.11, for a bit of information on portupgrade, which
> makes it easy to update existing installed packages and ports.
>
> > 2) I've used the locate feature previously and am familiar with it,
> > on Linux! How do I update the locate database? I've used slocate -u /
> > previously which updates the database starting at /
>
> This is already set up for you as a weekly cronjob.
>
> > 3) How do I refresh my paths? This is a very confusing question so
> > allow me to explain! After installing a package I cannot execute the
> > binary unless I am in the directory in which the binary resides -
> > even though the path to the binary is in my "path" statement in
> > ~/.profile. How do I get this to work?
>
> Ah! This used to drive me nuts, until I realized that I was running
> csh/tcsh instead of sh/bash. Make sure you're running sh or bash and
> not csh or tcsh. If you need to use csh, then consult the man page for
> csh, and look for a paragraph talking about "rehash".
>
> > 4) Am I right in thinking that all I need to do to install a package
> > from /usr/ports is to 4.1) make 4.2) make install ? Are there other
> > (optional/necessary steps) to perform?
>
> If you have an internet connection then that's all there is. I would add
> "make clean" afterwards, just to be tidy. Make sure you read any
> messages that "make install" directs your way. Sometimes they include
> additional manual steps that you must do.
>
> David
> _______________________________________________
> freebsd-newbies at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe at freebsd.org"
>

And when you gaze long into an abyss the abyss
also gazes into you. - Nietzsche



More information about the freebsd-newbies mailing list