Hi,can anyone guide on how to download install patches on FreeBSD using commands.
Hi,can anyone guide on how to download install patches on FreeBSD using commands.
There two types of patches:
Base system - Includes kernel, system files and core apps such as BIND, Sendmail etc.
Apps / Ports - Applications such as apache, postfix, mysql and much more installed using ports.
To patch base system in binary mode use freebsd-update. This works great if you are not using custom kernel. See tutorial: FreeBSD Update Software and Apply Security Patches
To patch base system using source code (build world) use make and cvsup commands, see tutorial - FreeBSD cvsup: Update The FreeBSD From Previous Releases Using Source Code
To upgrade packages and apply patch use:
Code:portsnap fetch extract pkg_version -l '<' portmaster -Da
All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]
To add on to Viveks post, freebsd-update is available in the base system, but portmaster has to be installed through ports.
Code:# cd /usr/ports/ports-mgmt/portmaster # make install clean
There are currently 1 users browsing this thread. (0 members and 1 guests)