How to Install fop on Mac using Brew

Package Information:

Name: fop
Use: Apache™ FOP (Formatting Objects Processor) is a print formatter driven by XSL formatting objects (XSL-FO) and an output independent formatter.
URL: https://xmlgraphics.apache.org/fop/index.html

Installation Steps:

  1. Open Terminal.
  2. Run the following command

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install fop using brew
    brew install fop

fop is ready to use now!