Fontspec Error: the font "FontAwsome" cannot be found

Hi,

I am trying to compile a cv template using “xetext”. I am using Geany as my editor on fedora 43.
As I try to build the document, it fails in compilation. here are the final lines of the .log file:

(/usr/share/texlive/texmf-dist/tex/latex/fontawesome/fontawesome.sty
Package: fontawesome 2016/05/15 v4.6.3.1 font awesome icons

(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifxetex.sty
Package: ifxetex 2019/10/25 v0.7 ifxetex legacy package. Use iftex instead.
)
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifluatex.sty
Package: ifluatex 2019/10/25 v1.5 ifluatex legacy package. Use iftex instead.
)
(/usr/share/texlive/texmf-dist/tex/latex/fontawesome/fontawesomesymbols-generic
.tex)

/usr/share/texlive/texmf-dist/tex/latex/fontawesome/fontawesome.sty:46: Package
 fontspec Error: The font "FontAwesome" cannot be found.

For immediate help type H <return>.
 ...                                              
                                                  
l.46 
     
? 
/usr/share/texlive/texmf-dist/tex/latex/fontawesome/fontawesome.sty:46: Emergen
cy stop.
 ...                                              
                                                  
l.46 

The interesting issue is that I compile the same document in ubuntu with “laTex” instead of “xeLatex” and it generates the pdf without any problem. But when I use “latex” command in fedora it refuses to start compilation suggesting to use either “xeLatex” or “luaLatex”.

Any comments will be appreciated.

This answer seems like it might be relevant - apparently xetex may need you to specify the font path explicitly?