How to install FFmpeg on Fedora Linux 28/29 using dnf

Originally published at: https://www.cyberciti.biz/faq/how-to-install-ffmpeg-on-fedora-linux-28-29-using-dnf/

When I type ffmpeg -i input output.mp4 on Fedora Linux, I get an error: “bash: ffmpeg: command not found…”. How do I install ffmpeg on Fedora Linux 28 or 29 workstations?