*Warning* ... not a typical flavor of Linux ... rather a Unix?
Been many years since I've run BSD ... that's my qualification of this response.
However, this might be close enough:
https://docs.moodle.org/33/en/Install_Moodle_on_FreeBSD
Basically one needs PHP (depending upon version of Moodle, a minimal level of PHP), a Database (MySQL/MariaDB/Postgress other), and a web service ... (Apache, nginx, litespeed, other).
Once those pieces are in place and function, then Moodle.
Think you will be using a lot of command line, so would check out the install/update/upgrade of Moodle via git.
https://docs.moodle.org/33/en/Git_for_Administrators
Am assuming at least version 3.3 but ...
https://docs.moodle.org/dev/Releases
Of course, if you have issues, then by all means come back and ask ... do include specific info ... like PHP version/extensions installed, web service, DB server, etc. other wise one might be playing the 'questions' game.
Added after doing a little more Googling:
which isn't 6.2 but might be close enough.
'spirit of sharing', Ken
Unless you have no choice or have lots of time... I would strongly encourage you to use Ubuntu or Centos. These distros are heavily used and tested for Moodle and are known to work.
On more obscure Unixs the libraries used to build PHP are often "flaky" and you may have problems that nobody can help you with.