Installing Software in FreeBSD with pkg

pkg command is used to install software in FreeBSD.

To update package repo, run


To install postfix mail server, run

To auto start postfix, you need to run

You can also add postfix_enable=”YES” to /etc/rc.conf manually.

Finding Software

To find package that provides a software, you can run


Delete a software

Upgrade all installed software

Leave a Reply

Your email address will not be published. Required fields are marked *