On Unix, fsc
is the Scala compiler, not F#.
Given how old Expert F# 4.0 is, I assume it suggested installing mono; in this case, the F# compiler is fsharpc
.
If you have the dotnet SDK instead, then the F# compiler is not directly available as a command, instead you need to use dotnet build
with a .fsproj file.