且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何解决“gpg:command not found” RVM安装过程中出现错误?

更新时间:2021-11-29 05:46:31

GnuPG (二进制名称 gpg )是用于使用OpenPGP协议进行公钥加密的应用程序,还包括签名验证加密签名,如果使用正确,还可以验证发布者)。在某种程度上,你可以说是OpenPGP的OpenSSL是为X.509和TLS。

GnuPG (with binary name gpg) is an application used for public key encryption using the OpenPGP protocol, but also verification of signatures (cryptographic signatures, that also can validate the publisher if used correctly). To some extend, you could say it's for OpenPGP what OpenSSL is for X.509 and TLS.

与大多数Linux发行版(大量使用GnuPG确保未遏制软件在其软件包存储库中),Mac OS X不会带有操作系统的GnuPG,因此您必须自己安装它

Unlike most Linux distributions (which make heavy use of GnuPG for ensuring untampered software within their package repositories), Mac OS X does not bring GnuPG with the operating system, so you have to install it on your own.

可能的来源包括:


  • 套件管理员 Homebrew : code> brew install gnupg gnupg2

  • 套件管理员 MacPorts sudo port install gnupg gnupg2

  • GPGTools ,它还带来了GUI应用程序和集成到Apple Mail中

  • Package manager Homebrew: brew install gnupg gnupg2
  • Package manager MacPorts: sudo port install gnupg gnupg2
  • Install from GPGTools, which also brings GUI applications and integration in Apple Mail