如何解决“gpg:command not found” RVM安装过程中出现错误? [英] How to resolve "gpg: command not found" error during RVM installation?

查看:8401
本文介绍了如何解决“gpg:command not found” RVM安装过程中出现错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个新的mac pro(OS X 10.9.5),我从头开始设置。我去安装RVM,它说的第一件事是:

I have a new mac pro (OS X 10.9.5) that I get to set up from scratch. I went to install RVM and the first thing it says to do is:


安装mpapis公钥(可能需要 gpg2 和或 sudo

gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3


当我尝试我得到:

gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
zsh: command not found: gpg

有人可以解释什么 gpg

Can someone explain what gpg is, why I dont already have it, and how do I get it the right way.

推荐答案

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

这篇关于如何解决“gpg:command not found” RVM安装过程中出现错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆