Unlike Debian and OpenBSD, there’s no ready-built package for AsciiDoctor on FreeBSD. One must install ruby, the Gem package manager and the AsciiDoctor gem.
Installation Commands
-
doas pkg install rubyThis command also installs
libedit,libunwindandlibyaml. -
doas pkg install devel/ruby-gems -
doas gem install asciidoctor
Asciidoctor operates exactly as on Debian and OpenBSD.