How to Install and Compile wgrib2 on MacOS X and MacOS -Tutorial Index

Intel and Apple Silicon

Three different tutorials are available. Choose the tutorial based on the age of your Mac, the version of wgrib2 and the directory structure of your system, specifically the directory location of any previous Homebrew installation. (Intel, migrated from Intel, or new install Apple Silicon.).
Regarding directory structure, the newest tutorial below (2024) for Apple Silicon will have Homebrew installed in directory
/opt/homebrew
while Intel Macs and Apple Silicon Macs that have been migrated from Intel may or will have Homebrew installed in
/usr/local/homebrew,

These tutorials are designed for beginners. If the term Homebrew is new to you, don’t be discouraged. All will be explained, step-by-step.

Tutorial 1 – How to Install and Compile wgrib2 on MacOS (Ventura and Sonoma – Apple Silicon M1-M3)

NEWPosted 2/2024
• For Apple Silicon Macs only with new systems, not migrated from previous Intel. New “Clean” installs.
• Homebrew directory will be installed in /opt/homebrew
NEW wgrib2 version 3.1.3


Tutorial 2- How to Install and Compile wgrib2 on MacOS (Big Sur through Monterey, also Ventura on Intel or Apple Silicon migrated from Intel)

• Posted 7/2023
• For Intel Macs and Apple Silicon Macs with systems previously migrated from Intel using Migration Assistant or Carbon Copy Cloner or SuperDuper
• Homebrew already exists in directory /usr/local/homebrew
• wgrib2 versions 3.0.1 to 3.1.2 to 3.13. (Use the new v3.1.3)


Tutorial 3- How to Install and Compile wgrib2 on MacOS X and MacOS (El Capitan through Catalina & Mojave)

• Posted 2019
• Homebrew installed or will be installed in /usr/local/homebrew
• For older, Intel Macs only
• older versions of wgrib2 versions 2.7- 2.9

Weather… and Other Things 'Up in the Air'