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

Advertisement

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
Add a comment

Leave a Reply

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

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement