Updating FreeBSD: Difference between revisions

m 1 revision
add info on adding 32 bit libs
Line 48: Line 48:


Consult the toplevel Makefile and the FreeBSD Handbook for more information.
Consult the toplevel Makefile and the FreeBSD Handbook for more information.
===Adding 32-bit libs to an amd64 system===
* ensure EMUL_32BIT is defined in make.conf
* make build32
* make install32
* ldconfig -32 /usr/lib32


==Installed ports==
==Installed ports==
The list of ports installed on the machine can be displayed with pkg_info. Ports generally confine themselves to /usr/local. After syncing the ports collection, installed ports can be rebuilt and upgraded automatically using portupgrade(1) or the make(1) mechanism of the ports collection. Use portsclean -L to clean old, duplicate and/or orphaned shared libraries. I typically use <tt>portupgrade -uap</tt> to rebuild all ports, and make new packages as well.
The list of ports installed on the machine can be displayed with pkg_info. Ports generally confine themselves to /usr/local. After syncing the ports collection, installed ports can be rebuilt and upgraded automatically using portupgrade(1) or the make(1) mechanism of the ports collection. Use portsclean -L to clean old, duplicate and/or orphaned shared libraries. I typically use <tt>portupgrade -uap</tt> to rebuild all ports, and make new packages as well.