我想在mac mini上安装gpg工具我有ssh访问权限,所以我可以安装s3cmd.
我知道你可以在这里使用安装程序dmg http://www.gpgtools.org/installer/index.html
但由于我只有ssh访问,我需要通过终端安装这个,并且无法找到在哪里这样做,如果我点击源它带我到这个页面https://github.com/GPGTools/GPGTools这对我没有帮助.
有人能指出我正确的方向.
这不是gpg特定的问题,应该问一个OSX系统支持部分,但是,我会尽我所能,但仅针对安装OSX的GPGTools(在OSX上安装其他dmg/pkg的过程可能会有所不同) ).
# Move to a location we can work
cd /tmp
# Retrieve the DMG for GPGTools
wget https://github.com/downloads/GPGTools/GPGTools/GPGTools-20120318.dmg
# Mount the DMG image so we can access it's contents;
# NOTE: the last line of the output describes where the image was mounted.
hdiutil attach ./GPGTools-20120318.dmg
# Move into the the mounted image
cd /Volumes/GPGTools/
# Now begin the installer as root, with a target of "/"
sudo installer -pkg GPGTools.mpkg -target "/"
# Now we must fix the permissions of our gnupg directory, as the installer
# script seems to "fix" the permissions with the root user
sudo chown -R `whoami`: ~/.gnupg
# Now move out of the mounted volume directory so we can unmount it
cd /tmp
# Unmount the volume
hdiutil detach /Volumes/GPGTools
Run Code Online (Sandbox Code Playgroud)
现在应该安装GPGTools.
| 归档时间: |
|
| 查看次数: |
3372 次 |
| 最近记录: |