Installing Software in FreeBSD with pkg

pkg command is used to install software in FreeBSD.

To update package repo, run

Example

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

Example

Delete a software

Upgrade all installed software

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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