Installing Software with FreeBSD ports

FreeBSD ports allows installing software from source.

Update the tree. This will create /usr/ports if missing.

portsnap fetch update
portsnap extract

Updating Index

Before you can use ports, you need to fetch index. To do this, run

cd /usr/ports
make fetchindex

Find Software

To find software, use

cd /usr/ports
make search name=php

Install a Software

To install a software, for example node.js, run

cd /usr/ports/www/node
make
make install
Need help with Linux Server or WordPress? We can help!

Leave a Reply

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