Common commands in Freebsd

Reading Time: < 1 minute

Updating freebsd

freebsd-update fetch install

 

Updating ports

portsnap fetch update

portsnap extract

 

Installing a package from ports

cd /usr/ports/lang/perl5.24

make install clean

 

Installing a package from pkg_add

pkg_add -v -r perl