Results 1 to 3 of 3

Thread: How to download install patches on FreeBSD using commands.

  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default How to download install patches on FreeBSD using commands.

    Hi,can anyone guide on how to download install patches on FreeBSD using commands.

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,514
    Thanks
    17
    Thanked 808 Times in 511 Posts
    Rep Power
    10

    Default

    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]


  3. #3
    Contributors amitabh's Avatar
    Join Date
    Jul 2008
    Location
    New Delhi
    Posts
    123
    Thanks
    0
    Thanked 5 Times in 4 Posts
    Rep Power
    9

    Default

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. command to install tar file on freebsd
    By hellBoy in forum All about FreeBSD/OpenBSD/NetBSD
    Replies: 3
    Last Post: 15th November 2009, 07:32 PM
  2. How to install Asterisk Pbx on FreeBSD 6
    By sheikhatif in forum All about FreeBSD/OpenBSD/NetBSD
    Replies: 4
    Last Post: 24th July 2009, 08:13 PM
  3. FreeBSD Install Hp nx6310 Wireless Driver
    By linuxchik in forum All about FreeBSD/OpenBSD/NetBSD
    Replies: 0
    Last Post: 18th August 2008, 03:07 PM
  4. FreeBSD Install Flashplugin Errors
    By linuxchik in forum All about FreeBSD/OpenBSD/NetBSD
    Replies: 3
    Last Post: 4th August 2008, 06:41 PM
  5. need help to install FreeBSD 6 series on my Intel based pc
    By sneezycrazyturtle in forum All about FreeBSD/OpenBSD/NetBSD
    Replies: 1
    Last Post: 22nd February 2007, 02:27 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •