|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "RNP now brewing in Homebrew: Installation just got easier" |
| 4 | +categories: news |
| 5 | +authors: |
| 6 | + - name: Ronald Tse |
| 7 | + |
| 8 | + social_links: |
| 9 | + - https://github.com/ronaldtse |
| 10 | +excerpt: >- |
| 11 | + RNP is now officially available in Homebrew core, bringing one-command installation |
| 12 | + to both macOS and Linux users. No more custom taps, no more complexity—just pure, |
| 13 | + simple brewing goodness. |
| 14 | +--- |
| 15 | += RNP now brewing in Homebrew: Installation just got easier |
| 16 | + |
| 17 | +We're excited to announce that RNP has officially joined the ranks of Homebrew's |
| 18 | +core formulae! 🍺 |
| 19 | + |
| 20 | +Whether you're brewing on macOS or Linux, installing RNP is now as simple as a |
| 21 | +single command. Gone are the days of managing custom taps or wrestling with |
| 22 | +complex installation procedures |
| 23 | + |
| 24 | +RNP is now part of the official Homebrew ecosystem. |
| 25 | + |
| 26 | +NOTE: Since becoming available in Homebrew core, we're pleased to see steady |
| 27 | +adoption! |
| 28 | + |
| 29 | + |
| 30 | +== What this means for you |
| 31 | + |
| 32 | +The inclusion of RNP in https://brew.sh[Homebrew] core represents a significant |
| 33 | +milestone for our project and a major convenience upgrade for our users. |
| 34 | + |
| 35 | +Here's what's changed: |
| 36 | + |
| 37 | +**Before**:: `brew tap rnpgp/rnp && brew install rnp` |
| 38 | + |
| 39 | +**Now**:: `brew install rnp` |
| 40 | + |
| 41 | +That's it. One command, universal compatibility, and you're ready to go. |
| 42 | + |
| 43 | + |
| 44 | +== Cross-platform brewing excellence |
| 45 | + |
| 46 | +One of the most exciting aspects of this development is that RNP now supports |
| 47 | +both macOS Homebrew and Linux Homebrew (Linuxbrew), making it accessible across |
| 48 | +the most popular development platforms. |
| 49 | + |
| 50 | + |
| 51 | +== macOS Support |
| 52 | + |
| 53 | +RNP is now available with full bottle (binary package) support for: |
| 54 | + |
| 55 | +* **Apple Silicon Macs** (M1, M2, M3 series): macOS Sequoia, Sonoma, and Ventura |
| 56 | + |
| 57 | +* **Intel Macs**: macOS Sonoma and Ventura |
| 58 | + |
| 59 | +Whether you're running the latest MacBook Pro with Apple Silicon or maintaining |
| 60 | +legacy Intel hardware, RNP installation is now seamless. |
| 61 | + |
| 62 | +== Linux Support |
| 63 | + |
| 64 | +Linux users haven't been forgotten! RNP is also available through Homebrew on |
| 65 | +Linux with support for: |
| 66 | + |
| 67 | +* **ARM64 architecture**: Perfect for Raspberry Pi deployments, ARM-based |
| 68 | +servers, and the growing ecosystem of ARM development machines |
| 69 | + |
| 70 | +* **x86_64 architecture**: Standard support for traditional Linux desktops, |
| 71 | +servers, and development environments |
| 72 | + |
| 73 | +This cross-platform consistency means that development teams can use the same |
| 74 | +installation method regardless of their operating system preferences. |
| 75 | + |
| 76 | +== Technical background: From custom tap to core |
| 77 | + |
| 78 | +For those curious about the technical journey, RNP previously required users to |
| 79 | +add our custom Homebrew tap (`rnpgp/rnp`) before installation. While this worked |
| 80 | +well, it added an extra step and wasn't as discoverable as packages in the core |
| 81 | +repository. |
| 82 | + |
| 83 | +The migration to Homebrew core involved: |
| 84 | + |
| 85 | +* Meeting Homebrew's strict quality and maintenance standards |
| 86 | +* Ensuring robust cross-platform compatibility |
| 87 | +* Implementing proper bottle (binary package) distribution |
| 88 | +* Setting up automated testing across all supported platforms |
| 89 | + |
| 90 | +Our custom tap (`rnpgp/rnp`) has been gracefully deprecated with a migration |
| 91 | +configuration that automatically redirects users to the core formula. |
| 92 | + |
| 93 | +This means that even if someone runs the old `brew install rnpgp/rnp/rnp` |
| 94 | +command, they'll get the official core version. |
| 95 | + |
| 96 | +== Why Homebrew core matters |
| 97 | + |
| 98 | +Being included in Homebrew core brings several advantages: |
| 99 | + |
| 100 | +**Discoverability**: RNP is now easily discoverable through `brew search` and |
| 101 | +appears in official Homebrew documentation. |
| 102 | + |
| 103 | +**Reliability**: Core formulae undergo rigorous testing and maintenance, |
| 104 | +ensuring consistent installation experiences. |
| 105 | + |
| 106 | +**Performance**: Binary bottles are automatically built and distributed, meaning |
| 107 | +faster installations without compilation delays. |
| 108 | + |
| 109 | +**Trust**: Homebrew core inclusion signals that RNP meets the high standards |
| 110 | +expected of production-ready software. |
| 111 | + |
| 112 | +**Maintenance**: The Homebrew community helps maintain the formula, reducing the |
| 113 | +burden on our development team. |
| 114 | + |
| 115 | +== Dependencies and requirements |
| 116 | + |
| 117 | +The Homebrew formula automatically handles RNP's dependencies: |
| 118 | + |
| 119 | +* https://botan.randombit.net/[**Botan**] (3.8.1): Our primary cryptographic backend |
| 120 | +* https://github.com/json-c/json-c[**JSON-C**] (0.18): For JSON parsing capabilities |
| 121 | +* https://cmake.org/[**CMake**] (4.0.3): Build system (when building from source) |
| 122 | + |
| 123 | +All dependencies are automatically resolved and installed, so you don't need to |
| 124 | +worry about manual dependency management. |
| 125 | + |
| 126 | + |
| 127 | +== What's next? |
| 128 | + |
| 129 | +This Homebrew integration is just the beginning. |
| 130 | + |
| 131 | +We're committed to: |
| 132 | + |
| 133 | +* Maintaining high-quality Homebrew support |
| 134 | +* Ensuring timely updates when new RNP versions are released |
| 135 | +* Expanding platform support as Homebrew evolves |
| 136 | +* Continuing to improve the installation and user experience |
| 137 | + |
| 138 | +== Try it today |
| 139 | + |
| 140 | +Ready to experience the new simplified installation? |
| 141 | + |
| 142 | +Here's all you need: |
| 143 | + |
| 144 | +[source,bash] |
| 145 | +---- |
| 146 | +brew install rnp |
| 147 | +---- |
| 148 | + |
| 149 | +That's it! Whether you're on macOS or Linux, Intel or ARM, the command is the |
| 150 | +same. |
| 151 | + |
| 152 | +For existing users who previously used our custom Homebrew tap, don't worry -- your |
| 153 | +installation will automatically migrate to use the core formula on your next |
| 154 | +`brew update && brew upgrade`. |
| 155 | + |
| 156 | +Let's brew 🍻 -- cheers to simpler installations! |
| 157 | + |
| 158 | +== About RNP |
| 159 | + |
| 160 | +RNP is a high-performance C++ OpenPGP library that powers secure communication |
| 161 | +in applications like Mozilla Thunderbird. Our commitment to cross-platform |
| 162 | +compatibility, security, and ease of use has made RNP a trusted choice for |
| 163 | +developers and organizations worldwide. |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | +Visit our https://github.com/rnpgp/rnp[GitHub repository] for documentation, examples, and community support. |
| 168 | + |
0 commit comments