Installing Software with FreeBSD ports
FreeBSD ports allows installing software from source.
Update the tree. This will create /usr/ports if missing.
1 2 |
portsnap fetch update portsnap extract |
Updating Index
Before you can use ports, you need to fetch index. To do this, run
1 2 |
cd /usr/ports make fetchindex |
Find Software
To find software, use
1 2 |
cd /usr/ports make search name=php |
Install a Software
To install a software, for example node.js, run
1 2 3 |
cd /usr/ports/www/node make make install |