(Assuming you are running Ubuntu, Debian or a Debian based distro.)
It is not possible to install fontawesome.sty
only. You can however, download the texlive-fonts-extra
package, extract the fontawesome.sty
from it and install it manually. Here are the steps:
mkdir fontdownload
cd fontdownload
sudo apt-get download texlive-fonts-extra
dpkg -x texlive-fonts-extra_2019.202000218-1_all.deb ./
sudo mkdir -p /usr/share/texlive/texmf-dist/tex/latex/fontawesome/
sudo cp -v ./usr/share/texlive/texmf-dist/tex/latex/fontawesome/fontawesome.sty /usr/share/texlive/texmf-dist/tex/latex/fontawesome/fontawesome.sty
cd ..
rm -rf fontdownload