Locate in FreeBSD

August 30, 2006

When you install FreeBSD, there’s no locate database, so you must create one with

/usr/libexec/locate.updatedb

once finished, you will be able to use locate to find files the fast way.


Installing Texlive2005 in FreeBSD

August 30, 2006

First of all insert the cd and mount it doing:

mount -t cd9660 /dev/acd0 /cdrom

then proceed following the post in:

http://jordilin.wordpress.com/2006/07/31/howto-installing-and-compiling-the-latest-latex-and-kile-packages/

when finished try to write the command latex and see if you get any error:

I got the error:

/usr/libexec/ld-elf.so.1: Shared object libm.so.2 not found

But it is solved by going to /usr/lib and doing

ln -s libm.so libm.so.2

then I got another error, similar but with libc.so.4 and solved the same way as before but doing

ln -s libc.so libc.so.4 (in /usr/lib)

Then you must type

texconfig

and do a rehash

All solved!! Happy TeXing in FreeBSD!!!!