Error: Make: pdflakex: command not found

When using the Doxygen tool, make reports the following errors:

adams@ubuntu:~/latex$ make
rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf
pdflatex refman
make: pdflatex: Command not found
make: *** [Makefile:8: refman.pdf] Error 127
adams@ubuntu:~/latex$ 

solution:

sudo apt install doxygen-latex

details:

The following additional packages will be installed:
  cm-super-minimal dvisvgm fonts-lato fonts-lmodern fonts-texgyre javascript-common libapache-pom-java libclass-data-inheritable-perl libclass-method-modifiers-perl libclass-xsaccessor-perl
  libcommons-logging-java libcommons-parent-java libemail-date-format-perl libexception-class-perl libfile-homedir-perl libfile-which-perl libfontbox-java libipc-shareable-perl libjs-jquery
  liblog-dispatch-perl liblog-log4perl-perl libmail-sendmail-perl libmime-charset-perl libmime-lite-perl libmime-types-perl libparams-validationcompiler-perl libpdfbox-java libptexenc1
  libreadonly-perl libref-util-perl libref-util-xs-perl librole-tiny-perl libruby2.7 libsombok3 libspecio-perl libsub-quote-perl libsys-hostname-long-perl libtcl8.6 libteckit0 libtexlua53
  libtexluajit2 libtk8.6 libunicode-linebreak-perl libxstring-perl libzzip-0-13 lmodern preview-latex-style ps2eps rake ruby ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit
  ruby-xmlrpc ruby2.7 rubygems-integration t1utils tcl tcl8.6 tex-common tex-gyre texlive-base texlive-binaries texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-latex-base
  texlive-latex-extra texlive-latex-recommended texlive-pictures texlive-plain-generic tipa tk tk8.6
Suggested packages:
  apache2 | lighttpd | httpd libavalon-framework-java libcommons-logging-java-doc libexcalibur-logkit-java liblog4j1.2-java libdbd-csv-perl liblog-dispatch-filerotate-perl librrds-perl
  libxml-dom-perl libencode-hanextra-perl libpod2-base-perl default-mta | mail-transport-agent libmojolicious-perl libtest-fatal-perl ri ruby-dev bundler tcl-tclreadline debhelper perl-tk xzdec
  chktex dvidvi dvipng fragmaster lacheck latexdiff latexmk purifyeps xindy lcdf-typetools psutils texlive-fonts-recommended-doc texlive-latex-base-doc icc-profiles libspreadsheet-parseexcel-perl
  texlive-latex-extra-doc texlive-latex-recommended-doc texlive-luatex texlive-pstricks dot2tex prerex ruby-tcltk | libtcltk-ruby texlive-pictures-doc vprerex default-jre-headless
The following NEW packages will be installed:
  cm-super-minimal doxygen-latex dvisvgm fonts-lato fonts-lmodern fonts-texgyre javascript-common libapache-pom-java libclass-data-inheritable-perl libclass-method-modifiers-perl
  libclass-xsaccessor-perl libcommons-logging-java libcommons-parent-java libemail-date-format-perl libexception-class-perl libfile-homedir-perl libfile-which-perl libfontbox-java
  libipc-shareable-perl libjs-jquery liblog-dispatch-perl liblog-log4perl-perl libmail-sendmail-perl libmime-charset-perl libmime-lite-perl libmime-types-perl libparams-validationcompiler-perl
  libpdfbox-java libptexenc1 libreadonly-perl libref-util-perl libref-util-xs-perl librole-tiny-perl libruby2.7 libsombok3 libspecio-perl libsub-quote-perl libsys-hostname-long-perl libtcl8.6
  libteckit0 libtexlua53 libtexluajit2 libtk8.6 libunicode-linebreak-perl libxstring-perl libzzip-0-13 lmodern preview-latex-style ps2eps rake ruby ruby-minitest ruby-net-telnet ruby-power-assert
  ruby-test-unit ruby-xmlrpc ruby2.7 rubygems-integration t1utils tcl tcl8.6 tex-common tex-gyre texlive-base texlive-binaries texlive-extra-utils texlive-font-utils texlive-fonts-recommended
  texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures texlive-plain-generic tipa tk tk8.6
0 upgraded, 76 newly installed, 0 to remove and 0 not upgraded.
Need to get 194 MB of archives.
After this operation, 530 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

Read More: