Install NASM on FreeBSD

Update pkg

On FreeBSD the assembler comes from the package collection. Refresh the package index first:

sudo pkg update

Install nasm

Install nasm with pkg:

sudo pkg install nasm

nasm -v

Check the assembler after the install. The linker ships with binutils, already installed:

nasm -v

The code on this page was not run: it needs FreeBSD and root.

Article author: Arthur Isaev