logrotate Package Installation on Mac

About abcde : Rotates, compresses, and mails system logs!
More Information: https://fedorahosted.org/logrotate/
Steps:

  1. Launch Terminal by pressing command+space, type terminal and hit Enter key.
  2. Run
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install
    brew install logrotate

Done!