gcore Package Installation on Mac

About abcde : Produce a snapshot (core dump) of a running process!
More Information: https://osxbook.com/book/bonus/chapter8/core/
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 gcore

Done!