Allthough building nasm from source there are some caveats when building from github. One of these is the fact that man pages aren't available on github. For this reason I give my way of how I build nasm from source.
eventually you need to install fonts and Sort::Versions with
and the fonts needed for the html,doc and pdf files (if you should want them). I took a while for me to find them but for your convinience I got them here all together.
You need a webbrowser or wget to download the latest source from nasm.us. The moment this article was created the latest source was version 2.16rc0. You can however download earlier versions (and later too ofcourse) with
un-tar the package with
tar -xz nasm-2.16rc0-20201104.tar.gz
cd into nasm-2.16rc0-20201104/
and type the next commands on the command line to start the build
sudo make everything install